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.0009979/0.0009979, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009217/0.0009217, allocations: 165.8 kB / 24.82 MB, free: 9.273 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.48 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 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.448e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002866/0.00288, allocations: 3.005 MB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.004632, allocations: 1.367 MB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.00475, allocations: 7.938 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.005092, allocations: 139.1 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.005446, allocations: 230.5 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.00563, allocations: 143.5 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.005955, allocations: 457.8 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.006079, allocations: 72.27 kB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.006269, allocations: 255.4 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.006437, allocations: 143.6 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.006478, allocations: 32 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.006565, allocations: 59.92 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.006632, allocations: 87.61 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.006721, allocations: 127.7 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.007002, allocations: 314.8 kB / 279.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.007004, allocations: 0 / 279.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007004, allocations: 3.938 kB / 279.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.007008, allocations: 0 / 279.8 MB, free: 10.87 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.0006377/0.007646, allocations: 0.7225 MB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.007679, allocations: 8.031 kB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.007749, allocations: 76.64 kB / 280.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.00797, allocations: 264.3 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.00799, allocations: 12.88 kB / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.008027, allocations: 36.36 kB / 280.9 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.008331, allocations: 475.7 kB / 281.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.008347, allocations: 11.86 kB / 281.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.008371, allocations: 12 kB / 281.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.008379, allocations: 8 kB / 281.4 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.008485, allocations: 91.41 kB / 281.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.009156, allocations: 0.688 MB / 282.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.009402, allocations: 182 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.00946, allocations: 60.22 kB / 282.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.009484, allocations: 8.281 kB / 282.4 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.009647, allocations: 238.2 kB / 282.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.452e-06/0.009649, allocations: 0 / 282.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00104/0.01069, allocations: 0.8491 MB / 283.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.01075, allocations: 183.9 kB / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.01094, allocations: 346.2 kB / 284 MB, free: 6.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.01096, allocations: 37.64 kB / 284 MB, free: 6.227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.01133, allocations: 251.4 kB / 284.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.0114, allocations: 142.7 kB / 284.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.01148, allocations: 83.81 kB / 284.5 MB, free: 5.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01161, allocations: 0.5234 MB / 285 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.01165, allocations: 36.97 kB / 285.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.0118, allocations: 290.6 kB / 285.3 MB, free: 4.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.01194, allocations: 172.3 kB / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01194, allocations: 4 kB / 285.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002462/0.01219, allocations: 273.3 kB / 285.8 MB, free: 4.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.0122, allocations: 4 kB / 285.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01221, allocations: 4 kB / 285.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.158e-05/0.01228, allocations: 27.61 kB / 285.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.01247, allocations: 83.84 kB / 285.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007715/0.01324, allocations: 1.709 MB / 287.6 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.01334, allocations: 23.94 kB / 287.6 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.01336, allocations: 8 kB / 287.6 MB, free: 2.367 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.000111/0.01347, allocations: 187.7 kB / 287.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.01351, allocations: 55.7 kB / 287.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.01377, allocations: 256.9 kB / 288.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01378, allocations: 7.938 kB / 288.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01378, allocations: 64 / 288.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002852/0.01406, allocations: 0.5864 MB / 288.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.01462, allocations: 0.6647 MB / 289.4 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.01463, allocations: 3.984 kB / 289.4 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.0148, allocations: 83.84 kB / 289.5 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.0148, allocations: 4.125 kB / 289.5 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01481, allocations: 8 kB / 289.5 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01482, allocations: 4 kB / 289.5 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01482, allocations: 0 / 289.5 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.01515, allocations: 0.4919 MB / 290 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.01523, allocations: 59.72 kB / 290 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.01526, allocations: 12 kB / 290.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01536, allocations: 15.98 kB / 290.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.01539, allocations: 31.7 kB / 290.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.01541, allocations: 16 kB / 290.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.01551, allocations: 230.9 kB / 290.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01551, allocations: 0 / 290.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01574, allocations: 91.94 kB / 290.4 MB, free: 15.37 MB / 282.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.0007284/0.01647, allocations: 404.2 kB / 290.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.01679, allocations: 354.2 kB / 291.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.0168, allocations: 7.938 kB / 291.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.659e-05/0.01689, allocations: 103.5 kB / 291.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.01748, allocations: 101.1 kB / 291.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.01858, allocations: 0.8873 MB / 292.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.072e-05/0.01864, allocations: 109.8 kB / 292.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.568e-05/0.01874, allocations: 47.27 kB / 292.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.01894, allocations: 190.1 kB / 292.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01894, allocations: 0 / 292.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of Templates: time 0.007491/0.02643, allocations: 6.047 MB / 298.7 MB, free: 7.332 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.912531392183155]