Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001939/0.001939, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002572/0.002572, allocations: 203.8 kB / 23.73 MB, free: 4.379 MB / 14.72 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.781 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+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.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_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_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2838, allocations: 53.38 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004953/0.2888, allocations: 2.82 MB / 434.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.2916, allocations: 1.34 MB / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.292, allocations: 7.938 kB / 435.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.2927, allocations: 147.1 kB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008798/0.2935, allocations: 210.8 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.294, allocations: 143.6 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.2949, allocations: 446 kB / 436.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.2951, allocations: 81.02 kB / 436.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.2954, allocations: 179.3 kB / 436.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.2957, allocations: 191.2 kB / 437.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.2958, allocations: 28 kB / 437.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.2959, allocations: 59.98 kB / 437.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.2961, allocations: 83.67 kB / 437.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.2962, allocations: 155.1 kB / 437.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.2968, allocations: 468.3 kB / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2969, allocations: 0 / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2969, allocations: 0 / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2969, allocations: 0 / 437.9 MB, free: 372 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.001145/0.298, allocations: 0.6188 MB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.298, allocations: 8.031 kB / 438.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.2981, allocations: 52.66 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.2987, allocations: 254.3 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.2987, allocations: 20.88 kB / 438.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.2987, allocations: 28.12 kB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.2994, allocations: 0.517 MB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2994, allocations: 0 / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.2995, allocations: 12 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2995, allocations: 4 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.2998, allocations: 177.9 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3011, allocations: 0.7035 MB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.3017, allocations: 251.8 kB / 440.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.3019, allocations: 89.38 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.3019, allocations: 4.281 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000369/0.3023, allocations: 273.4 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.3023, allocations: 4 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002297/0.3046, allocations: 1.114 MB / 442 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.3047, allocations: 183.9 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.3051, allocations: 336.5 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.3051, allocations: 37.64 kB / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3053, allocations: 192.7 kB / 442.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.3054, allocations: 142.8 kB / 442.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3055, allocations: 82.06 kB / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3057, allocations: 346.8 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3059, allocations: 88.84 kB / 443.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.3062, allocations: 313.8 kB / 443.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.3067, allocations: 246.2 kB / 443.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3067, allocations: 4 kB / 443.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005925/0.3073, allocations: 366.4 kB / 444.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3073, allocations: 4 kB / 444.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3073, allocations: 4 kB / 444.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.807e-05/0.3074, allocations: 12.86 kB / 444.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.3077, allocations: 95.83 kB / 444.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.3089, allocations: 1.264 MB / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3091, allocations: 16.03 kB / 445.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.3091, allocations: 15.94 kB / 445.7 MB, free: 8.004 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.0002076/0.3093, allocations: 166.6 kB / 445.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.3094, allocations: 39.77 kB / 445.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006416/0.31, allocations: 345.9 kB / 446.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.31, allocations: 8.156 kB / 446.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.31, allocations: 0 / 446.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006846/0.3107, allocations: 0.6683 MB / 446.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3119, allocations: 0.7242 MB / 447.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3119, allocations: 4 kB / 447.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.3122, allocations: 83.83 kB / 447.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3122, allocations: 4 kB / 447.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.3122, allocations: 12.12 kB / 447.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3122, allocations: 64 / 447.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3122, allocations: 8 kB / 447.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008095/0.3131, allocations: 0.5626 MB / 448.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3132, allocations: 59.73 kB / 448.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.3132, allocations: 11.98 kB / 448.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.3135, allocations: 19.98 kB / 448.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.3135, allocations: 27.95 kB / 448.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.3136, allocations: 11.98 kB / 448.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.3138, allocations: 251 kB / 448.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3138, allocations: 0 / 448.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.3142, allocations: 95.94 kB / 448.8 MB, free: 4.727 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.001677/0.3159, allocations: 445 kB / 449.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006801/0.3166, allocations: 362.3 kB / 449.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.3166, allocations: 4 kB / 449.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.3168, allocations: 128.7 kB / 449.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.3174, allocations: 103.8 kB / 449.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.3192, allocations: 1.043 MB / 450.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.3194, allocations: 199.7 kB / 451 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.3196, allocations: 51.25 kB / 451.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.3196, allocations: 35.42 kB / 451.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3196, allocations: 3.938 kB / 451.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01254/0.3322, allocations: 6.08 MB / 457.2 MB, free: 12.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.71334782987833]