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.001355/0.001355, allocations: 80.41 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001029/0.001029, allocations: 167.7 kB / 25.61 MB, free: 8.539 MB / 18.57 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 0.8965/0.8965, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.534e-06/2.534e-06, allocations: 3.984 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.709e-05, allocations: 5.688 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002889/0.002906, allocations: 2.989 MB / 277.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.004498, allocations: 1.377 MB / 278.5 MB, free: 40 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.004639, allocations: 7.938 kB / 278.5 MB, free: 32 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.005039, allocations: 139.1 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.00543, allocations: 226.5 kB / 278.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.00567, allocations: 147.4 kB / 279.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.006029, allocations: 453.9 kB / 279.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.006153, allocations: 68.27 kB / 279.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.006358, allocations: 259.3 kB / 279.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.006528, allocations: 147.6 kB / 280 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.006562, allocations: 28 kB / 280 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.449e-05/0.006646, allocations: 55.98 kB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.00672, allocations: 95.59 kB / 280.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.00681, allocations: 115.7 kB / 280.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.007098, allocations: 330.7 kB / 280.6 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.0071, allocations: 0 / 280.6 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007101, allocations: 0 / 280.6 MB, free: 14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.007105, allocations: 0 / 280.6 MB, free: 14 MB / 266.7 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.0006505/0.007756, allocations: 0.7264 MB / 281.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.007783, allocations: 8.031 kB / 281.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.007855, allocations: 64.66 kB / 281.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.008083, allocations: 256.5 kB / 281.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.008106, allocations: 24.86 kB / 281.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.008143, allocations: 32.31 kB / 281.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.008458, allocations: 479.7 kB / 282.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.008473, allocations: 7.922 kB / 282.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.008491, allocations: 12 kB / 282.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.008497, allocations: 4 kB / 282.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.00861, allocations: 95.33 kB / 282.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.009314, allocations: 0.6919 MB / 282.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.009546, allocations: 173 kB / 283.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.009604, allocations: 52.22 kB / 283.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.009622, allocations: 8.219 kB / 283.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.009781, allocations: 234.3 kB / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.009782, allocations: 4 kB / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001046/0.01083, allocations: 0.8582 MB / 284.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.01088, allocations: 183.9 kB / 284.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.01107, allocations: 342.2 kB / 284.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.01109, allocations: 37.7 kB / 284.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01119, allocations: 251.3 kB / 285.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.01127, allocations: 138.8 kB / 285.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.01134, allocations: 87.77 kB / 285.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.01146, allocations: 0.5234 MB / 285.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.01151, allocations: 44.91 kB / 285.9 MB, free: 8.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.01165, allocations: 286.6 kB / 286.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.0118, allocations: 172.3 kB / 286.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.0118, allocations: 0 / 286.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002496/0.01205, allocations: 277.4 kB / 286.6 MB, free: 7.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.01206, allocations: 8 kB / 286.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01206, allocations: 4 kB / 286.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.884e-05/0.01211, allocations: 23.61 kB / 286.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.0123, allocations: 91.89 kB / 286.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006758/0.01298, allocations: 1.705 MB / 288.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.01307, allocations: 8 kB / 288.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.01309, allocations: 15.98 kB / 288.4 MB, free: 5.52 MB / 266.7 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.0001081/0.0132, allocations: 180.5 kB / 288.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.01325, allocations: 63.66 kB / 288.7 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.01351, allocations: 252.8 kB / 288.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01351, allocations: 8.062 kB / 288.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01351, allocations: 4 kB / 288.9 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002741/0.01379, allocations: 0.5824 MB / 289.5 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.01435, allocations: 0.6725 MB / 290.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.01436, allocations: 4 kB / 290.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.01453, allocations: 75.91 kB / 290.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01454, allocations: 4 kB / 290.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.01455, allocations: 8.125 kB / 290.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.01455, allocations: 11.92 kB / 290.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01456, allocations: 4 kB / 290.3 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.01489, allocations: 491.6 kB / 290.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.01497, allocations: 63.72 kB / 290.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.015, allocations: 8 kB / 290.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.01511, allocations: 24.05 kB / 290.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.01515, allocations: 31.58 kB / 290.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.01517, allocations: 12 kB / 290.9 MB, free: 2.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.01528, allocations: 234.9 kB / 291.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01528, allocations: 0 / 291.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.01553, allocations: 95.94 kB / 291.2 MB, free: 2.508 MB / 266.7 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.0007326/0.01627, allocations: 407.2 kB / 291.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.01658, allocations: 354 kB / 292 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01658, allocations: 0 / 292 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.01667, allocations: 99.44 kB / 292.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.017, allocations: 101 kB / 292.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.01811, allocations: 0.8827 MB / 293 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.629e-05/0.01818, allocations: 113.8 kB / 293.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.01828, allocations: 39.27 kB / 293.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.0185, allocations: 198.1 kB / 293.4 MB, free: 384 kB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0185, allocations: 0 / 293.4 MB, free: 384 kB / 266.7 MB Notification: Performance of Templates: time 0.00772/0.02622, allocations: 6.17 MB / 299.6 MB, free: 10.36 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8917586910538375]