Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.001376/0.001376, allocations: 84.98 kB / 23 MB, free: 1.5 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.001052/0.001052, allocations: 175.1 kB / 26.39 MB, free: 7.758 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.87/0.87, allocations: 158.6 MB / 188.3 MB, free: 2.789 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.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.375e-05, allocations: 2.312 kB / 252.3 MB, free: 7.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.007956/0.007969, allocations: 9.343 MB / 261.6 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.009013, allocations: 0.6074 MB / 262.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.009214, allocations: 7.938 kB / 262.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.009563, allocations: 91.36 kB / 262.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.01007, allocations: 341.8 kB / 262.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.01135, allocations: 0.6661 MB / 263.4 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00086/0.01221, allocations: 0.8831 MB / 264.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.01237, allocations: 72.73 kB / 264.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.01428, allocations: 1.348 MB / 265.7 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.01456, allocations: 251.2 kB / 265.9 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.01461, allocations: 35.94 kB / 265.9 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.01517, allocations: 175.6 kB / 266.1 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.01527, allocations: 103.6 kB / 266.2 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.01539, allocations: 147.7 kB / 266.4 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.01584, allocations: 382.9 kB / 266.7 MB, free: 8.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01585, allocations: 3.938 kB / 266.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01585, allocations: 4 kB / 266.7 MB, free: 8.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.01585, allocations: 3.938 kB / 266.7 MB, free: 8.688 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.0006006/0.01645, allocations: 0.6401 MB / 267.4 MB, free: 8.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.01649, allocations: 11.98 kB / 267.4 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.01675, allocations: 100.3 kB / 267.5 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.01702, allocations: 247.8 kB / 267.7 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.01703, allocations: 21.03 kB / 267.8 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.01707, allocations: 32.36 kB / 267.8 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.01743, allocations: 0.5114 MB / 268.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.01745, allocations: 192 / 268.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01747, allocations: 16.12 kB / 268.3 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.01748, allocations: 8 kB / 268.3 MB, free: 6.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.01761, allocations: 107.3 kB / 268.4 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.01895, allocations: 1.813 MB / 270.2 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.01911, allocations: 123.2 kB / 270.4 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.01917, allocations: 51.61 kB / 270.4 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/0.01922, allocations: 23.97 kB / 270.4 MB, free: 4.738 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.01924, allocations: 41.39 kB / 270.5 MB, free: 4.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.01924, allocations: 0 / 270.5 MB, free: 4.688 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001306/0.02055, allocations: 0.6816 MB / 271.2 MB, free: 3.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.02057, allocations: 55.41 kB / 271.2 MB, free: 3.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.02073, allocations: 276.1 kB / 271.5 MB, free: 3.613 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.02076, allocations: 33.7 kB / 271.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.02087, allocations: 243.1 kB / 271.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.02092, allocations: 107 kB / 271.9 MB, free: 3.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.021, allocations: 79.69 kB / 271.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.02114, allocations: 0.5079 MB / 272.4 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.02119, allocations: 40.66 kB / 272.5 MB, free: 2.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.0213, allocations: 158 kB / 272.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.02147, allocations: 212.4 kB / 272.8 MB, free: 2.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.02147, allocations: 0 / 272.8 MB, free: 2.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005959/0.02207, allocations: 300.4 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.02208, allocations: 8 kB / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02209, allocations: 0 / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.02233, allocations: 83.86 kB / 273.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.02246, allocations: 67.91 kB / 273.3 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/0.02284, allocations: 0.8624 MB / 274.1 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/0.02293, allocations: 11.94 kB / 274.2 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.02295, allocations: 16 kB / 274.2 MB, free: 0.7422 MB / 250.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.0001121/0.02307, allocations: 172.5 kB / 274.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.02312, allocations: 35.86 kB / 274.4 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.02345, allocations: 314.9 kB / 274.7 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.02345, allocations: 4 kB / 274.7 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.02345, allocations: 7.969 kB / 274.7 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000257/0.02371, allocations: 0.4883 MB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.02426, allocations: 0.567 MB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02426, allocations: 4 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.02434, allocations: 39.92 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.02459, allocations: 91.64 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.0246, allocations: 8 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003167/0.02491, allocations: 0.8506 MB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.02492, allocations: 0 / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.02527, allocations: 411 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.02529, allocations: 23.8 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.02532, allocations: 12.06 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.02543, allocations: 8 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.02545, allocations: 31.83 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.02547, allocations: 11.98 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.119e-05/0.02555, allocations: 193.1 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02555, allocations: 0 / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.02583, allocations: 111.9 kB / 277.5 MB, free: 13.14 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.0001695/0.026, allocations: 131.1 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.02625, allocations: 174.2 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.02625, allocations: 4 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.02637, allocations: 100.3 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.02684, allocations: 152.9 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008344/0.02767, allocations: 0.5733 MB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.046e-05/0.02772, allocations: 96.55 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.02785, allocations: 50.89 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.02813, allocations: 218 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02813, allocations: 4 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Templates: time 0.008224/0.03635, allocations: 6.999 MB / 286 MB, free: 4.625 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_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/Glycol47/Glycol47.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.86018770840019]