Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 55.91 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 53.42 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004754/0.2563, allocations: 3.057 MB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.259, allocations: 1.441 MB / 436.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.2592, allocations: 7.938 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.2597, allocations: 139.2 kB / 437.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005682/0.2603, allocations: 214.8 kB / 437.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.2606, allocations: 143.6 kB / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000595/0.2612, allocations: 442.1 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.2614, allocations: 76.27 kB / 437.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.2617, allocations: 187.3 kB / 438.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.262, allocations: 191.1 kB / 438.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.262, allocations: 28 kB / 438.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.2622, allocations: 55.98 kB / 438.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2623, allocations: 91.61 kB / 438.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.2625, allocations: 191 kB / 438.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.263, allocations: 455.3 kB / 439.1 MB, free: 88 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.263, allocations: 0 / 439.1 MB, free: 88 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.263, allocations: 0 / 439.1 MB, free: 88 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2631, allocations: 0 / 439.1 MB, free: 88 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0011/0.2642, allocations: 0.6228 MB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2642, allocations: 12.03 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.595e-05/0.2643, allocations: 52.66 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.2648, allocations: 262.8 kB / 440 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2648, allocations: 20.81 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.2649, allocations: 28.38 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.2654, allocations: 298.5 kB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.2654, allocations: 0 / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.2654, allocations: 12 kB / 440.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2654, allocations: 8 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.2658, allocations: 177.8 kB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.2671, allocations: 0.8004 MB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.2677, allocations: 249.3 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.2679, allocations: 93.94 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.2679, allocations: 8.281 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.2682, allocations: 158.4 kB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.2682, allocations: 0 / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002284/0.2705, allocations: 1.111 MB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.2706, allocations: 187.9 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.271, allocations: 332.5 kB / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.271, allocations: 33.7 kB / 443.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2712, allocations: 184.8 kB / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.2713, allocations: 146.8 kB / 443.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2714, allocations: 78.12 kB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.2716, allocations: 346.8 kB / 444.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.2718, allocations: 88.84 kB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.2721, allocations: 177.2 kB / 444.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.2725, allocations: 254.3 kB / 444.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2725, allocations: 4 kB / 444.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006053/0.2731, allocations: 366.5 kB / 445.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2731, allocations: 4 kB / 445.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2731, allocations: 0 / 445.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.572e-05/0.2732, allocations: 20.86 kB / 445.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.2736, allocations: 87.89 kB / 445.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.2748, allocations: 1.283 MB / 446.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.275, allocations: 19.97 kB / 446.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.275, allocations: 11.94 kB / 446.6 MB, free: 8.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.2752, allocations: 176.6 kB / 446.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2753, allocations: 47.64 kB / 446.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006099/0.2759, allocations: 334.3 kB / 447.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2759, allocations: 4 kB / 447.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2759, allocations: 0 / 447.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000681/0.2766, allocations: 0.6653 MB / 447.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.2779, allocations: 0.8141 MB / 448.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2779, allocations: 0 / 448.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.2782, allocations: 75.91 kB / 448.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2782, allocations: 4 kB / 448.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.2782, allocations: 11.98 kB / 448.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2782, allocations: 0 / 448.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2782, allocations: 4 kB / 448.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.279, allocations: 0.5509 MB / 449.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.2792, allocations: 55.92 kB / 449.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.2792, allocations: 19.98 kB / 449.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2794, allocations: 16 kB / 449.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.2795, allocations: 23.95 kB / 449.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.2795, allocations: 19.98 kB / 449.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.2798, allocations: 235.1 kB / 449.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2798, allocations: 3.938 kB / 449.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.2802, allocations: 95.94 kB / 449.7 MB, free: 4.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001577/0.2818, allocations: 423.8 kB / 450.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007154/0.2825, allocations: 350.9 kB / 450.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.2825, allocations: 4 kB / 450.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.2828, allocations: 123.8 kB / 450.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.2834, allocations: 116.6 kB / 450.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.2853, allocations: 1.057 MB / 451.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.2857, allocations: 0.8117 MB / 452.5 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2859, allocations: 35.44 kB / 452.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2859, allocations: 0 / 452.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Templates: time 0.009589/0.2954, allocations: 5.801 MB / 458.4 MB, free: 12.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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: 8.158192296978086]