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.001461/0.001461, allocations: 83.58 kB / 21.19 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.001635/0.001635, allocations: 161 kB / 24.56 MB, free: 16 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 0.9548/0.9548, allocations: 177.1 MB / 205 MB, free: 5.648 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.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.905e-05, allocations: 2.312 kB / 273 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003383/0.003412, allocations: 3.041 MB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.005458, allocations: 1.375 MB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.005633, allocations: 7.938 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.006119, allocations: 147 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.006658, allocations: 226.6 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.007013, allocations: 143.5 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.007563, allocations: 469.4 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.007743, allocations: 68.27 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.008027, allocations: 255.4 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.008259, allocations: 151.5 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.008304, allocations: 28 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.008425, allocations: 59.97 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.00851, allocations: 83.69 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.008627, allocations: 127.7 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.00906, allocations: 322.7 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.009065, allocations: 0 / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.009066, allocations: 0 / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.009075, allocations: 0 / 279.4 MB, free: 11.09 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.0008648/0.00994, allocations: 0.711 MB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.009981, allocations: 16.03 kB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.01008, allocations: 68.64 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.01042, allocations: 256.4 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.01045, allocations: 16.88 kB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/0.0105, allocations: 36.36 kB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.01095, allocations: 495.7 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.01097, allocations: 7.922 kB / 281 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.01099, allocations: 12 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.011, allocations: 8 kB / 281 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.01119, allocations: 110.9 kB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009653/0.01215, allocations: 0.746 MB / 281.9 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.01252, allocations: 194.7 kB / 282.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.01262, allocations: 64.22 kB / 282.1 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.01266, allocations: 12.27 kB / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.01292, allocations: 254.2 kB / 282.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.01292, allocations: 0 / 282.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001622/0.01454, allocations: 0.9651 MB / 283.4 MB, free: 6.832 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.01463, allocations: 183.9 kB / 283.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.01489, allocations: 354.3 kB / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.01492, allocations: 37.7 kB / 283.9 MB, free: 6.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.01507, allocations: 243.4 kB / 284.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.01515, allocations: 146.8 kB / 284.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.01524, allocations: 75.86 kB / 284.4 MB, free: 5.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01541, allocations: 0.5196 MB / 284.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.0155, allocations: 52.95 kB / 284.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.0157, allocations: 294.7 kB / 285.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.01593, allocations: 196.3 kB / 285.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01594, allocations: 0 / 285.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003697/0.01631, allocations: 305.3 kB / 285.7 MB, free: 4.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.01633, allocations: 4 kB / 285.7 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01633, allocations: 3.938 kB / 285.7 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.416e-05/0.01643, allocations: 23.62 kB / 285.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.01664, allocations: 87.89 kB / 285.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009474/0.01759, allocations: 1.736 MB / 287.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01769, allocations: 11.98 kB / 287.6 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01771, allocations: 16 kB / 287.6 MB, free: 2.258 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.0001199/0.01783, allocations: 183.7 kB / 287.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.01788, allocations: 55.77 kB / 287.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.01822, allocations: 284.8 kB / 288.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01822, allocations: 4 kB / 288.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01822, allocations: 0 / 288.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003532/0.01858, allocations: 0.602 MB / 288.7 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.01927, allocations: 0.7422 MB / 289.5 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01928, allocations: 4 kB / 289.5 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.01946, allocations: 79.89 kB / 289.5 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01947, allocations: 8.125 kB / 289.5 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.01949, allocations: 8 kB / 289.6 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.01949, allocations: 8 kB / 289.6 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.01949, allocations: 7.938 kB / 289.6 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.01998, allocations: 0.5191 MB / 290.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.02006, allocations: 59.73 kB / 290.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.02009, allocations: 11.98 kB / 290.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.0202, allocations: 19.94 kB / 290.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.02025, allocations: 27.95 kB / 290.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.02027, allocations: 15.98 kB / 290.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.02042, allocations: 239 kB / 290.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02042, allocations: 0 / 290.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.02069, allocations: 103.9 kB / 290.6 MB, free: 15.08 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.0008357/0.02152, allocations: 403.4 kB / 291 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.02196, allocations: 378.2 kB / 291.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.02196, allocations: 0 / 291.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.02209, allocations: 103.5 kB / 291.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.02245, allocations: 105.5 kB / 291.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.0239, allocations: 0.8944 MB / 292.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.02398, allocations: 105.8 kB / 292.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.0241, allocations: 47.25 kB / 292.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.02416, allocations: 40.5 kB / 292.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02416, allocations: 0 / 292.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of Templates: time 0.008005/0.03217, allocations: 5.57 MB / 298.2 MB, free: 7.625 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: 3.0633614789694548]