Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.245e-05, allocations: 6.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003402/0.003435, allocations: 1.583 MB / 273.9 MB, free: 208 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.004563, allocations: 0.4986 MB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.00464, allocations: 7.938 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.732e-05/0.004687, allocations: 3.938 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.004813, allocations: 7.922 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.005115, allocations: 59.7 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.005217, allocations: 35.86 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.0053, allocations: 15.97 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.005445, allocations: 27.86 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.005494, allocations: 11.98 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.005512, allocations: 8 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.005549, allocations: 4 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.005601, allocations: 19.91 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.00563, allocations: 11.94 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.005772, allocations: 55.73 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005774, allocations: 0 / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005775, allocations: 0 / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.005778, allocations: 0 / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004697/0.006248, allocations: 290.1 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.006284, allocations: 12.03 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.006454, allocations: 20.88 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.006698, allocations: 137.6 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.006707, allocations: 384 / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.006721, allocations: 8.375 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.006964, allocations: 89.59 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006971, allocations: 192 / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.00698, allocations: 384 / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.006989, allocations: 11.94 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/0.007068, allocations: 19.92 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.007382, allocations: 209.4 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.007484, allocations: 45.16 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.00754, allocations: 25.75 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.007561, allocations: 4 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.007594, allocations: 34.5 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.007594, allocations: 0 / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.000254/0.007848, allocations: 73.56 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.007915, allocations: 77.11 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.008069, allocations: 145.2 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.008097, allocations: 25.7 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.008162, allocations: 88.12 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.008178, allocations: 7.984 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.008216, allocations: 13.67 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.008401, allocations: 322.8 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.215e-05/0.008443, allocations: 12.19 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.008473, allocations: 4 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.008553, allocations: 20.84 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008555, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.008674, allocations: 53.67 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.008691, allocations: 7.938 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.008695, allocations: 0 / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.008707, allocations: 0 / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.008767, allocations: 8.094 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.008772, allocations: 0 / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.008805, allocations: 7.938 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.008815, allocations: 4 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.893e-05/0.008914, allocations: 117.8 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.008988, allocations: 45.59 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.009014, allocations: 11.8 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.009015, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.009019, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.009021, allocations: 4.031 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.009185, allocations: 117.3 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009186, allocations: 0 / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.009235, allocations: 7.984 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009237, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.009245, allocations: 7.875 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.009246, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.009251, allocations: 4 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.009449, allocations: 160.3 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.009484, allocations: 11.94 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.009501, allocations: 11.97 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.009567, allocations: 0 / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.009598, allocations: 3.984 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.009604, allocations: 4 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.009692, allocations: 103.3 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009692, allocations: 0 / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.00991, allocations: 4 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001092/0.01002, allocations: 103.2 kB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.01015, allocations: 23.92 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01015, allocations: 0 / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.01019, allocations: 8 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.0105, allocations: 16.3 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.01084, allocations: 164.7 kB / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.601e-05/0.01093, allocations: 75.33 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.897e-05/0.01096, allocations: 8.219 kB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.01099, allocations: 8.5 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01099, allocations: 0 / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Templates: time 0.002891/0.01388, allocations: 0.5127 MB / 277.9 MB, free: 11.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.384839280042797]