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.001737/0.001737, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001966/0.001966, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.525/1.525, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.001986/0.001986, allocations: 64.05 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2672, allocations: 53.41 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004869/0.2721, allocations: 2.827 MB / 435.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.2748, allocations: 1.332 MB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.275, allocations: 7.938 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.2755, allocations: 143.2 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.2761, allocations: 218.7 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.2764, allocations: 143.5 kB / 437 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.277, allocations: 438.2 kB / 437.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.2772, allocations: 72.28 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.2774, allocations: 179.3 kB / 437.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.2777, allocations: 175.1 kB / 437.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.2778, allocations: 28 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.2779, allocations: 63.97 kB / 438 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.2781, allocations: 87.62 kB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.2782, allocations: 151.2 kB / 438.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.2788, allocations: 459.8 kB / 438.7 MB, free: 208 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2788, allocations: 3.984 kB / 438.7 MB, free: 204 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2788, allocations: 0 / 438.7 MB, free: 204 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2789, allocations: 0 / 438.7 MB, free: 204 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.001181/0.28, allocations: 0.6226 MB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2801, allocations: 15.98 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.745e-05/0.2802, allocations: 48.66 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.2807, allocations: 254.4 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.2807, allocations: 24.88 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.2808, allocations: 28.31 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.2815, allocations: 0.5174 MB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.2815, allocations: 3.984 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.2815, allocations: 12 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.2815, allocations: 4 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.2819, allocations: 189.8 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2832, allocations: 0.6996 MB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.2838, allocations: 247 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.284, allocations: 89.94 kB / 441.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.284, allocations: 8.219 kB / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.2844, allocations: 277.2 kB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.033e-06/0.2844, allocations: 0 / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002388/0.2868, allocations: 1.111 MB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.2869, allocations: 183.9 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.2873, allocations: 340.5 kB / 443.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.2873, allocations: 33.7 kB / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2875, allocations: 188.7 kB / 443.5 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2876, allocations: 146.7 kB / 443.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.2878, allocations: 78.12 kB / 443.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2879, allocations: 346.8 kB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2881, allocations: 84.84 kB / 444.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.2885, allocations: 317.7 kB / 444.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.2889, allocations: 246.2 kB / 444.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2889, allocations: 0 / 444.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000608/0.2895, allocations: 358.5 kB / 445.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2895, allocations: 15.86 kB / 445.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2895, allocations: 4 kB / 445.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-05/0.2896, allocations: 16.86 kB / 445.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.29, allocations: 92.02 kB / 445.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.2912, allocations: 1.26 MB / 446.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2914, allocations: 16.03 kB / 446.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2914, allocations: 8 kB / 446.5 MB, free: 7.84 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.0002203/0.2916, allocations: 172.5 kB / 446.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.2917, allocations: 39.83 kB / 446.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.2923, allocations: 350.3 kB / 447 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2923, allocations: 4 kB / 447 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.2923, allocations: 0 / 447 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007272/0.2931, allocations: 0.6685 MB / 447.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.2943, allocations: 0.7319 MB / 448.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2943, allocations: 4 kB / 448.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.2946, allocations: 79.89 kB / 448.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.2946, allocations: 8.125 kB / 448.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.2947, allocations: 11.94 kB / 448.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2947, allocations: 0 / 448.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2947, allocations: 4 kB / 448.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.2956, allocations: 0.5502 MB / 449.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2957, allocations: 63.73 kB / 449.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.2958, allocations: 11.94 kB / 449.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.296, allocations: 23.94 kB / 449.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.2961, allocations: 27.95 kB / 449.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.2961, allocations: 12 kB / 449.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002717/0.2964, allocations: 243 kB / 449.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2964, allocations: 0 / 449.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.2968, allocations: 99.94 kB / 449.5 MB, free: 4.559 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 (41): * Single equations (assignments): 39 * 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.001672/0.2985, allocations: 441.2 kB / 450 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007436/0.2992, allocations: 359.1 kB / 450.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2992, allocations: 4.062 kB / 450.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.2995, allocations: 132.4 kB / 450.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.3001, allocations: 106.7 kB / 450.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.302, allocations: 1.076 MB / 451.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.3022, allocations: 195.7 kB / 451.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.3023, allocations: 35.44 kB / 451.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3023, allocations: 0 / 451.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Templates: time 0.01023/0.3125, allocations: 5.941 MB / 457.8 MB, free: 12.38 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.220258845947683]