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.001341/0.001341, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001396/0.001396, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.625 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.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.017e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004139/0.004159, allocations: 3.036 MB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.006493, allocations: 1.387 MB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.006701, allocations: 7.938 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.007201, allocations: 143 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.007813, allocations: 222.6 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.008196, allocations: 143.5 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000583/0.008779, allocations: 465.8 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.008961, allocations: 68.27 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.009283, allocations: 255.4 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.009533, allocations: 151.5 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.009582, allocations: 28 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.009714, allocations: 59.98 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.009806, allocations: 83.69 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.009948, allocations: 127.7 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.01044, allocations: 318.7 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01044, allocations: 0 / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01044, allocations: 0 / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.01045, allocations: 0 / 279.4 MB, free: 11.07 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.001093/0.01154, allocations: 0.7188 MB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.01158, allocations: 8.031 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.01168, allocations: 68.64 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.01196, allocations: 260.4 kB / 280.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.01198, allocations: 20.88 kB / 280.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.01202, allocations: 32.36 kB / 280.5 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.01242, allocations: 0.4919 MB / 281 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01244, allocations: 3.938 kB / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.01246, allocations: 12 kB / 281 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.01247, allocations: 12 kB / 281 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.01264, allocations: 106.9 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008556/0.01349, allocations: 0.7382 MB / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.01382, allocations: 194.7 kB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.01391, allocations: 72.2 kB / 282.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.01393, allocations: 12.27 kB / 282.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.01413, allocations: 250.2 kB / 282.4 MB, free: 7.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.694e-06/0.01413, allocations: 3.938 kB / 282.4 MB, free: 7.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001349/0.01548, allocations: 0.9651 MB / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.01554, allocations: 183.9 kB / 283.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.01577, allocations: 358.3 kB / 283.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.0158, allocations: 37.7 kB / 283.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.0159, allocations: 239.4 kB / 284.2 MB, free: 5.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.01597, allocations: 146.8 kB / 284.3 MB, free: 5.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.01605, allocations: 79.84 kB / 284.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01618, allocations: 0.5235 MB / 284.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.01626, allocations: 44.97 kB / 284.9 MB, free: 5.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.01642, allocations: 294.7 kB / 285.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.01664, allocations: 200.3 kB / 285.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.01664, allocations: 0 / 285.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003122/0.01695, allocations: 301.3 kB / 285.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.01696, allocations: 6.656 kB / 285.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01697, allocations: 7.938 kB / 285.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-05/0.01705, allocations: 23.62 kB / 285.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.01723, allocations: 83.89 kB / 285.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009824/0.01822, allocations: 1.732 MB / 287.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01832, allocations: 15.98 kB / 287.6 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01833, allocations: 12 kB / 287.6 MB, free: 2.238 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.0001087/0.01844, allocations: 187.7 kB / 287.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.01849, allocations: 51.89 kB / 287.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.01881, allocations: 284.7 kB / 288.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01881, allocations: 4 kB / 288.1 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.01881, allocations: 0 / 288.1 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003126/0.01912, allocations: 0.6059 MB / 288.7 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006376/0.01976, allocations: 0.7383 MB / 289.5 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01976, allocations: 4 kB / 289.5 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.01994, allocations: 76.02 kB / 289.5 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01994, allocations: 8 kB / 289.5 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01996, allocations: 12 kB / 289.6 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.01996, allocations: 8 kB / 289.6 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.01997, allocations: 4 kB / 289.6 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.02038, allocations: 0.5229 MB / 290.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.02045, allocations: 59.72 kB / 290.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.02048, allocations: 15.98 kB / 290.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.0206, allocations: 15.94 kB / 290.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.02065, allocations: 31.95 kB / 290.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.02067, allocations: 15.98 kB / 290.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.02081, allocations: 239 kB / 290.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02081, allocations: 0 / 290.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.02106, allocations: 99.94 kB / 290.6 MB, free: 15.06 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.0007832/0.02185, allocations: 397.6 kB / 290.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.02224, allocations: 378.2 kB / 291.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.02225, allocations: 0 / 291.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.02236, allocations: 111.5 kB / 291.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.02271, allocations: 97.53 kB / 291.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.02398, allocations: 0.8983 MB / 292.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.746e-05/0.02405, allocations: 109.8 kB / 292.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.02416, allocations: 47.25 kB / 292.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.02422, allocations: 36.5 kB / 292.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02422, allocations: 0 / 292.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of Templates: time 0.008113/0.03233, allocations: 5.894 MB / 298.5 MB, free: 7.289 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.8870659600943327]