Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.000939/0.000939, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.0009138/0.0009138, allocations: 165.5 kB / 25.32 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.803/0.803, allocations: 158.6 MB / 187.2 MB, free: 2.527 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.577e-06/3.577e-06, allocations: 3.984 kB / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.719e-05, allocations: 6.312 kB / 251.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.008467/0.008494, allocations: 9.467 MB / 260.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.009448, allocations: 0.6816 MB / 261.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.00958, allocations: 4 kB / 261.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.009939, allocations: 107.3 kB / 261.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.01046, allocations: 349.8 kB / 261.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.01181, allocations: 0.752 MB / 262.5 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.01262, allocations: 0.9652 MB / 263.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.01278, allocations: 72.75 kB / 263.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.01484, allocations: 1.527 MB / 265 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.01513, allocations: 247.2 kB / 265.3 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.01518, allocations: 28 kB / 265.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.01548, allocations: 179.7 kB / 265.5 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.01558, allocations: 107.6 kB / 265.6 MB, free: 5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.01572, allocations: 143.7 kB / 265.7 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.01616, allocations: 386.8 kB / 266.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01617, allocations: 0 / 266.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01617, allocations: 0 / 266.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.01617, allocations: 0 / 266.1 MB, free: 4.48 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006811/0.01686, allocations: 0.6479 MB / 266.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.01689, allocations: 11.98 kB / 266.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.01723, allocations: 104.2 kB / 266.8 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.01753, allocations: 243.8 kB / 267.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.01755, allocations: 21.03 kB / 267.1 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.0176, allocations: 32.33 kB / 267.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.01804, allocations: 0.527 MB / 267.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.01806, allocations: 192 / 267.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.01809, allocations: 24.11 kB / 267.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.0181, allocations: 8 kB / 267.7 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.01835, allocations: 126.8 kB / 267.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.01974, allocations: 1.84 MB / 269.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.01996, allocations: 142.7 kB / 269.8 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.02004, allocations: 51.66 kB / 269.8 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.0201, allocations: 23.98 kB / 269.9 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.02012, allocations: 37.39 kB / 269.9 MB, free: 396 kB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/0.02013, allocations: 8 kB / 269.9 MB, free: 388 kB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001701/0.02183, allocations: 0.7475 MB / 270.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.02185, allocations: 59.41 kB / 270.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.02205, allocations: 276.2 kB / 271 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.02207, allocations: 37.69 kB / 271 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.02218, allocations: 235.1 kB / 271.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.02225, allocations: 107.3 kB / 271.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.02234, allocations: 79.67 kB / 271.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.02246, allocations: 0.504 MB / 271.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.02256, allocations: 56.66 kB / 272 MB, free: 14.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.02271, allocations: 166 kB / 272.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.02297, allocations: 240.3 kB / 272.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.02297, allocations: 0 / 272.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004338/0.02341, allocations: 320.5 kB / 272.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.02342, allocations: 4 kB / 272.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.02343, allocations: 11.88 kB / 272.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.02371, allocations: 79.56 kB / 272.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.02389, allocations: 63.91 kB / 272.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004339/0.02433, allocations: 0.8744 MB / 273.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.02444, allocations: 12 kB / 273.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.02447, allocations: 20 kB / 273.8 MB, free: 12.28 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.02459, allocations: 176.5 kB / 273.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.02465, allocations: 43.8 kB / 274 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.02511, allocations: 331 kB / 274.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.02511, allocations: 7.938 kB / 274.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.02511, allocations: 0 / 274.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003534/0.02547, allocations: 0.504 MB / 274.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.0262, allocations: 0.6214 MB / 275.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.0262, allocations: 0 / 275.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.02631, allocations: 35.92 kB / 275.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003202/0.02663, allocations: 99.52 kB / 275.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.02664, allocations: 4 kB / 275.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003985/0.02704, allocations: 0.8585 MB / 276.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.02705, allocations: 4 kB / 276.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.02754, allocations: 443 kB / 276.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.02757, allocations: 15.86 kB / 276.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.0276, allocations: 11.94 kB / 276.9 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.02775, allocations: 8 kB / 276.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.02778, allocations: 31.95 kB / 276.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.0278, allocations: 8 kB / 276.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.02793, allocations: 205.1 kB / 277.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02793, allocations: 0 / 277.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.006399/0.03433, allocations: 107.9 kB / 277.3 MB, free: 8.539 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001983/0.03452, allocations: 135.1 kB / 277.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.03489, allocations: 194.9 kB / 277.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.03489, allocations: 8 kB / 277.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.03506, allocations: 101 kB / 277.7 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.03568, allocations: 152.3 kB / 277.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.03677, allocations: 0.5766 MB / 278.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.242e-05/0.03684, allocations: 92.56 kB / 278.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.006175/0.04301, allocations: 58.86 kB / 278.6 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.04307, allocations: 32.48 kB / 278.6 MB, free: 7.137 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.04307, allocations: 0 / 278.6 MB, free: 7.137 MB / 266.7 MB Notification: Performance of Templates: time 0.0274/0.07047, allocations: 6.746 MB / 285.3 MB, free: 424 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.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.6648112111724913]