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.0009743/0.0009743, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001089/0.001089, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9423/0.9423, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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 1.222e-06/1.222e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.486e-05, allocations: 5.266 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003083/0.003097, allocations: 3.056 MB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.005138, allocations: 1.397 MB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.005292, allocations: 7.938 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.00572, allocations: 151.1 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.006221, allocations: 214.5 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.006562, allocations: 151.4 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.006986, allocations: 461.8 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.007121, allocations: 74.88 kB / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.007354, allocations: 259.4 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.007532, allocations: 143.6 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.007566, allocations: 35.94 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-05/0.007656, allocations: 48 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.007725, allocations: 87.67 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.107e-05/0.007816, allocations: 127.6 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.008126, allocations: 318.8 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.008128, allocations: 0 / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008128, allocations: 4 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.008134, allocations: 0 / 279.9 MB, free: 10.5 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.0005696/0.008703, allocations: 0.5901 MB / 280.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.008734, allocations: 15.98 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.008794, allocations: 48.89 kB / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.009019, allocations: 229.6 kB / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.009036, allocations: 12.88 kB / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.009072, allocations: 40.36 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.009359, allocations: 485.4 kB / 281.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.009372, allocations: 4.141 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.009387, allocations: 12.38 kB / 281.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.009395, allocations: 11.94 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.009492, allocations: 78.27 kB / 281.4 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.01013, allocations: 0.5218 MB / 281.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.01035, allocations: 211.1 kB / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.01041, allocations: 53.34 kB / 282.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.01042, allocations: 4.281 kB / 282.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.0106, allocations: 239.3 kB / 282.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.0106, allocations: 0 / 282.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001054/0.01166, allocations: 0.8134 MB / 283.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.01171, allocations: 187.9 kB / 283.4 MB, free: 6.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.01188, allocations: 300.5 kB / 283.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.0119, allocations: 37.7 kB / 283.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.01196, allocations: 153.4 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.01203, allocations: 142.7 kB / 284 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.0121, allocations: 74.16 kB / 284.1 MB, free: 5.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.01218, allocations: 354.7 kB / 284.5 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.01223, allocations: 35.81 kB / 284.5 MB, free: 5.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.01235, allocations: 254.3 kB / 284.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.01248, allocations: 164.9 kB / 284.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01248, allocations: 0 / 284.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0001883/0.01267, allocations: 212.8 kB / 285.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.01268, allocations: 7.984 kB / 285.1 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.01269, allocations: 0 / 285.1 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.419e-05/0.01273, allocations: 16.86 kB / 285.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.01295, allocations: 123.9 kB / 285.3 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005362/0.01349, allocations: 1.15 MB / 286.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.01358, allocations: 16 kB / 286.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01359, allocations: 4 kB / 286.4 MB, free: 3.438 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 8.952e-05/0.01368, allocations: 156.7 kB / 286.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.01371, allocations: 39.89 kB / 286.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.0139, allocations: 194.2 kB / 286.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.0139, allocations: 7.938 kB / 286.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.0139, allocations: 0 / 286.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002835/0.01418, allocations: 0.5397 MB / 287.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.01463, allocations: 0.5418 MB / 287.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01463, allocations: 4.031 kB / 287.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.01483, allocations: 95.88 kB / 288 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01484, allocations: 4 kB / 288 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01485, allocations: 11.98 kB / 288 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01485, allocations: 0 / 288 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01485, allocations: 7.938 kB / 288 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.01512, allocations: 414.5 kB / 288.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.01517, allocations: 47.73 kB / 288.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.0152, allocations: 8 kB / 288.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.0153, allocations: 19.98 kB / 288.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.01534, allocations: 35.81 kB / 288.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.01535, allocations: 8 kB / 288.5 MB, free: 1.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.17e-05/0.01543, allocations: 119.4 kB / 288.7 MB, free: 1.008 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01543, allocations: 0 / 288.7 MB, free: 1.008 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.01566, allocations: 99.94 kB / 288.8 MB, free: 0.9102 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.0009835/0.01664, allocations: 0.5104 MB / 289.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.01691, allocations: 288.5 kB / 289.5 MB, free: 300 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.01692, allocations: 4 kB / 289.6 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.017, allocations: 100.4 kB / 289.7 MB, free: 192 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.01726, allocations: 97.58 kB / 289.7 MB, free: 96 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08795/0.1052, allocations: 0.7845 MB / 290.5 MB, free: 24.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.1053, allocations: 107.8 kB / 290.6 MB, free: 24.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.1054, allocations: 51.06 kB / 290.7 MB, free: 24.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.1057, allocations: 169.6 kB / 290.9 MB, free: 24.34 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1057, allocations: 1.219 kB / 290.9 MB, free: 24.34 MB / 266.7 MB Notification: Performance of Templates: time 0.008022/0.1137, allocations: 6.286 MB / 297.1 MB, free: 23.46 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] 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","",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.825533782597631]