Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001385/0.001385, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001576/0.001576, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.84 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2546, allocations: 53.32 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004762/0.2593, allocations: 3.053 MB / 435.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.2619, allocations: 1.43 MB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.2621, allocations: 8 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.2625, allocations: 143.1 kB / 436.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.2631, allocations: 222.7 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.2634, allocations: 139.6 kB / 437 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.2639, allocations: 446.1 kB / 437.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.2641, allocations: 75.8 kB / 437.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.2643, allocations: 175.3 kB / 437.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.2646, allocations: 195.1 kB / 437.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.2647, allocations: 28 kB / 437.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.2648, allocations: 60 kB / 438 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2649, allocations: 87.61 kB / 438.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.2651, allocations: 179 kB / 438.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.2656, allocations: 463.6 kB / 438.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2656, allocations: 0 / 438.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2656, allocations: 0 / 438.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2656, allocations: 0 / 438.7 MB, free: 0.707 MB / 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.00113/0.2668, allocations: 0.6935 MB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2668, allocations: 11.97 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.827e-05/0.2669, allocations: 44.7 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.2674, allocations: 336.6 kB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2674, allocations: 16.94 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.2675, allocations: 28.94 kB / 439.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.268, allocations: 291.1 kB / 440.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.268, allocations: 11.88 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.2681, allocations: 12 kB / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2681, allocations: 8 kB / 440.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.2684, allocations: 174.1 kB / 440.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.2699, allocations: 0.8368 MB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.2705, allocations: 251.4 kB / 441.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2707, allocations: 89.39 kB / 441.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.2707, allocations: 4.281 kB / 441.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.271, allocations: 162.6 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.271, allocations: 0 / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002545/0.2736, allocations: 1.324 MB / 443 MB, free: 12.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.2737, allocations: 183.9 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.2741, allocations: 336.5 kB / 443.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2741, allocations: 37.64 kB / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.2743, allocations: 192.7 kB / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.2744, allocations: 146.7 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2745, allocations: 74.12 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2747, allocations: 350.8 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2749, allocations: 84.84 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.2751, allocations: 185.3 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.2756, allocations: 246.2 kB / 444.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2756, allocations: 0 / 444.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006068/0.2762, allocations: 354.7 kB / 445.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2762, allocations: 11.94 kB / 445.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2762, allocations: 3.984 kB / 445.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.018e-05/0.2763, allocations: 16.86 kB / 445.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.2767, allocations: 91.89 kB / 445.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.2779, allocations: 1.386 MB / 446.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2781, allocations: 16.16 kB / 446.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.2781, allocations: 19.94 kB / 446.6 MB, free: 8.172 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.0002104/0.2784, allocations: 165.7 kB / 446.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.2784, allocations: 39.77 kB / 446.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.2791, allocations: 338.5 kB / 447.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2791, allocations: 4 kB / 447.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2791, allocations: 3.938 kB / 447.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007203/0.2798, allocations: 0.6609 MB / 447.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2811, allocations: 0.8427 MB / 448.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2811, allocations: 3.938 kB / 448.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.2814, allocations: 79.89 kB / 448.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.2814, allocations: 7.938 kB / 448.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.2814, allocations: 12.12 kB / 448.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.2814, allocations: 7.938 kB / 448.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.2814, allocations: 4.062 kB / 448.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008533/0.2823, allocations: 0.5511 MB / 449.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.2825, allocations: 140.8 kB / 449.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.2825, allocations: 12 kB / 449.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.2828, allocations: 15.98 kB / 449.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.2828, allocations: 27.91 kB / 449.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.2828, allocations: 16 kB / 449.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.2831, allocations: 239 kB / 449.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2831, allocations: 0 / 449.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004109/0.2835, allocations: 96 kB / 449.9 MB, free: 4.688 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.001531/0.2851, allocations: 419.1 kB / 450.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006861/0.2857, allocations: 354.4 kB / 450.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2857, allocations: 3.938 kB / 450.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.286, allocations: 124.3 kB / 450.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.2866, allocations: 108.8 kB / 450.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.2883, allocations: 1.041 MB / 451.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.2888, allocations: 0.8079 MB / 452.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.2889, allocations: 47.25 kB / 452.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.289, allocations: 35.44 kB / 452.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.289, allocations: 0 / 452.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Templates: time 0.01189/0.3009, allocations: 5.488 MB / 458.3 MB, free: 12.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.649727561976761]