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.00164/0.00164, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002107/0.002107, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.002295/0.002295, allocations: 64.08 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2595, allocations: 53.4 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005017/0.2645, allocations: 2.828 MB / 434.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.2671, allocations: 1.34 MB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.2672, allocations: 7.938 kB / 435.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.2677, allocations: 139.2 kB / 435.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.2683, allocations: 222.7 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.2686, allocations: 139.6 kB / 436.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.2691, allocations: 434.1 kB / 436.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.2693, allocations: 76.27 kB / 436.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.2695, allocations: 187.3 kB / 437 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2698, allocations: 167.2 kB / 437.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.2699, allocations: 32 kB / 437.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.27, allocations: 63.97 kB / 437.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2701, allocations: 79.64 kB / 437.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.2703, allocations: 155.2 kB / 437.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.2708, allocations: 460.3 kB / 437.9 MB, free: 204 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2709, allocations: 4 kB / 437.9 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2709, allocations: 0 / 437.9 MB, free: 200 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2709, allocations: 0 / 437.9 MB, free: 200 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.00113/0.272, allocations: 0.6227 MB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.272, allocations: 15.98 kB / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.2721, allocations: 44.66 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.2726, allocations: 262.3 kB / 438.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.2726, allocations: 16.88 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.2727, allocations: 24.38 kB / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006791/0.2734, allocations: 0.5173 MB / 439.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2734, allocations: 12 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.2734, allocations: 11.98 kB / 439.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2734, allocations: 8 kB / 439.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.2738, allocations: 173.9 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.2752, allocations: 0.6996 MB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.2758, allocations: 242.9 kB / 440.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2759, allocations: 97.95 kB / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.276, allocations: 8.266 kB / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.2764, allocations: 265.2 kB / 440.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.2764, allocations: 0 / 440.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002424/0.2788, allocations: 1.126 MB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.2789, allocations: 183.9 kB / 442.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.2793, allocations: 328.6 kB / 442.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.2794, allocations: 37.69 kB / 442.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.2795, allocations: 192.7 kB / 442.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2797, allocations: 142.7 kB / 442.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.2798, allocations: 70.14 kB / 443 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.28, allocations: 350.7 kB / 443.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2801, allocations: 96.77 kB / 443.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.2805, allocations: 309.8 kB / 443.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.2809, allocations: 254.2 kB / 444 MB, free: 9.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2809, allocations: 0 / 444 MB, free: 9.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000628/0.2816, allocations: 354.5 kB / 444.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2816, allocations: 11.94 kB / 444.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2816, allocations: 4 kB / 444.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.896e-05/0.2817, allocations: 28.97 kB / 444.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.282, allocations: 87.84 kB / 444.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.2833, allocations: 1.256 MB / 445.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.2835, allocations: 15.98 kB / 445.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.2835, allocations: 12 kB / 445.7 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.000227/0.2837, allocations: 184.1 kB / 445.9 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.2838, allocations: 39.77 kB / 445.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006297/0.2844, allocations: 334.2 kB / 446.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.2845, allocations: 4 kB / 446.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2845, allocations: 0 / 446.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007178/0.2852, allocations: 0.6685 MB / 446.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2864, allocations: 0.7319 MB / 447.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2864, allocations: 4.125 kB / 447.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.2867, allocations: 79.91 kB / 447.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.2867, allocations: 0 / 447.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.2868, allocations: 15.92 kB / 447.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2868, allocations: 4 kB / 447.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2868, allocations: 3.938 kB / 447.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.2876, allocations: 0.5542 MB / 448.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.2878, allocations: 63.78 kB / 448.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.2879, allocations: 11.94 kB / 448.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.2881, allocations: 28.11 kB / 448.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.2882, allocations: 27.89 kB / 448.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.2882, allocations: 12 kB / 448.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.2885, allocations: 243 kB / 448.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2885, allocations: 0 / 448.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.2889, allocations: 95.94 kB / 448.8 MB, free: 4.562 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.001814/0.2907, allocations: 446.5 kB / 449.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.2914, allocations: 358.9 kB / 449.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2914, allocations: 0 / 449.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.2917, allocations: 128.4 kB / 449.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.2923, allocations: 108.7 kB / 449.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.2942, allocations: 1.035 MB / 450.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2945, allocations: 199.7 kB / 451 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.2947, allocations: 51.19 kB / 451.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.2948, allocations: 31.44 kB / 451.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2948, allocations: 0 / 451.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Templates: time 0.01282/0.3076, allocations: 5.971 MB / 457.1 MB, free: 12.43 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/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: 4.790090788155794]