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.001789/0.001789, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002205/0.002205, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.524/1.524, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001547/0.001547, allocations: 47.94 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09466, allocations: 53.33 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004729/0.09939, allocations: 3.032 MB / 429.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1932/0.2926, allocations: 1.419 MB / 431.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.2929, allocations: 8.594 kB / 431.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.2934, allocations: 144.6 kB / 431.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.2939, allocations: 218.7 kB / 431.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.2943, allocations: 142.1 kB / 431.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.2949, allocations: 442.1 kB / 432.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.2951, allocations: 77.47 kB / 432.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.2953, allocations: 186.7 kB / 432.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2955, allocations: 188.7 kB / 432.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.2956, allocations: 29.84 kB / 432.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.2958, allocations: 59.42 kB / 432.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.2958, allocations: 81.38 kB / 432.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.296, allocations: 190.2 kB / 433 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.2965, allocations: 455.4 kB / 433.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2965, allocations: 1 kB / 433.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2965, allocations: 0 / 433.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2965, allocations: 1.344 kB / 433.4 MB, free: 7.809 MB / 350.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.0009958/0.2975, allocations: 0.6922 MB / 434.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.2975, allocations: 10.44 kB / 434.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2976, allocations: 52.09 kB / 434.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.298, allocations: 323.8 kB / 434.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.2981, allocations: 19.55 kB / 434.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.2981, allocations: 29.34 kB / 434.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.2986, allocations: 296.1 kB / 434.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.2987, allocations: 1.031 kB / 434.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.2987, allocations: 15.69 kB / 434.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2987, allocations: 6.875 kB / 434.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.2991, allocations: 175.9 kB / 435 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.3006, allocations: 0.8477 MB / 435.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.3013, allocations: 241.2 kB / 436.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.3015, allocations: 91.38 kB / 436.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.3016, allocations: 6.922 kB / 436.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.302, allocations: 168 kB / 436.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.302, allocations: 4 kB / 436.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00242/0.3044, allocations: 1.313 MB / 437.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.3044, allocations: 191.3 kB / 437.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.3048, allocations: 333.5 kB / 438.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.3048, allocations: 31.92 kB / 438.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3049, allocations: 186.9 kB / 438.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.305, allocations: 150.3 kB / 438.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3051, allocations: 74.16 kB / 438.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.3052, allocations: 348.1 kB / 439 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3053, allocations: 86.66 kB / 439 MB, free: 4.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.3056, allocations: 188.6 kB / 439.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.306, allocations: 246.3 kB / 439.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.306, allocations: 1.891 kB / 439.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005923/0.3066, allocations: 351.1 kB / 439.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3066, allocations: 6.078 kB / 439.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3066, allocations: 1.156 kB / 439.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.59e-05/0.3067, allocations: 24.75 kB / 439.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.3071, allocations: 93.22 kB / 439.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008863/0.308, allocations: 1.383 MB / 441.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.3082, allocations: 20.61 kB / 441.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3082, allocations: 14.84 kB / 441.4 MB, free: 2.797 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.0001668/0.3084, allocations: 159.9 kB / 441.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.3084, allocations: 40.53 kB / 441.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.535e-05/0.3085, allocations: 45.7 kB / 441.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3085, allocations: 13.36 kB / 441.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3085, allocations: 0.7031 kB / 441.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005429/0.3091, allocations: 0.6662 MB / 442.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3103, allocations: 0.843 MB / 443.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3103, allocations: 1.219 kB / 443.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.3106, allocations: 82.7 kB / 443.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3107, allocations: 2.062 kB / 443.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3107, allocations: 10.38 kB / 443.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3107, allocations: 2.906 kB / 443.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3107, allocations: 10.31 kB / 443.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.3116, allocations: 0.5512 MB / 443.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3117, allocations: 137.2 kB / 443.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.3117, allocations: 8.734 kB / 443.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.312, allocations: 21.16 kB / 443.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.312, allocations: 27.77 kB / 444 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.3121, allocations: 11 kB / 444 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.3123, allocations: 249.2 kB / 444.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3123, allocations: 1.094 kB / 444.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004428/0.3128, allocations: 91.48 kB / 444.3 MB, free: 0.7891 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.001566/0.3143, allocations: 423.4 kB / 444.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.315, allocations: 354.9 kB / 445.1 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3151, allocations: 5.406 kB / 445.1 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.3153, allocations: 124.3 kB / 445.2 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3159, allocations: 97.14 kB / 445.3 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.3177, allocations: 1.042 MB / 446.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.3182, allocations: 0.8039 MB / 447.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.3184, allocations: 53.16 kB / 447.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.452e-05/0.3184, allocations: 37.97 kB / 447.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3185, allocations: 1.125 kB / 447.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01222/0.3307, allocations: 5.402 MB / 452.6 MB, free: 14.42 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.7398485615849495]