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.0008881/0.0008881, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002056, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007265/0.0007265, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001766, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8645/0.8645, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1472/1.012, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.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 1.303e-06/1.303e-06, allocations: 0 / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.16e-05, allocations: 2.312 kB / 222 MB, free: 16 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.008604/0.008626, allocations: 9.511 MB / 231.5 MB, free: 6.449 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.009795, allocations: 0.7165 MB / 232.3 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.00994, allocations: 7.938 kB / 232.3 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.01022, allocations: 103.3 kB / 232.4 MB, free: 5.621 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004781/0.0107, allocations: 345.9 kB / 232.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.01231, allocations: 0.7518 MB / 233.5 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009541/0.01326, allocations: 0.9729 MB / 234.4 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.01344, allocations: 66.86 kB / 234.5 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.01558, allocations: 1.484 MB / 236 MB, free: 2.004 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.01589, allocations: 239.2 kB / 236.2 MB, free: 1.77 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.01594, allocations: 32 kB / 236.2 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.01628, allocations: 179.6 kB / 236.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.01636, allocations: 87.72 kB / 236.5 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.01646, allocations: 119.8 kB / 236.6 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.01684, allocations: 335 kB / 237 MB, free: 1.031 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.01685, allocations: 4 kB / 237 MB, free: 1.027 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.01685, allocations: 4 kB / 237 MB, free: 1.023 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.01686, allocations: 0 / 237 MB, free: 1.023 MB / 234.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.0006764/0.01754, allocations: 0.6049 MB / 237.6 MB, free: 404 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.01757, allocations: 8.031 kB / 237.6 MB, free: 396 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.01789, allocations: 177.5 kB / 237.7 MB, free: 200 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.01817, allocations: 209.2 kB / 238 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.01819, allocations: 21.03 kB / 238 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.01824, allocations: 28.38 kB / 238 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.01856, allocations: 495.4 kB / 238.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.01857, allocations: 12.11 kB / 238.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.0186, allocations: 16.12 kB / 238.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.0186, allocations: 8 kB / 238.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.0187, allocations: 103.2 kB / 238.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01976, allocations: 1.238 MB / 239.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.01992, allocations: 102.5 kB / 240 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.01997, allocations: 40.83 kB / 240 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.02002, allocations: 23.97 kB / 240 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.02004, allocations: 34.56 kB / 240.1 MB, free: 13.69 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.02004, allocations: 4 kB / 240.1 MB, free: 13.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001498/0.02154, allocations: 0.7129 MB / 240.8 MB, free: 12.94 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.02157, allocations: 55.41 kB / 240.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.0217, allocations: 220.9 kB / 241 MB, free: 12.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.02172, allocations: 33.7 kB / 241.1 MB, free: 12.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.02181, allocations: 180.3 kB / 241.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.02186, allocations: 103.1 kB / 241.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.02194, allocations: 77.98 kB / 241.4 MB, free: 12.24 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.02207, allocations: 342.8 kB / 241.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.02211, allocations: 28.73 kB / 241.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.0222, allocations: 122.8 kB / 241.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.02239, allocations: 197 kB / 242.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.02239, allocations: 0 / 242.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002438/0.02263, allocations: 226 kB / 242.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.02265, allocations: 8 kB / 242.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.02266, allocations: 4.312 kB / 242.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.02291, allocations: 68.73 kB / 242.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.02312, allocations: 87.88 kB / 242.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003203/0.02344, allocations: 0.5757 MB / 243.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.02354, allocations: 11.94 kB / 243.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.02356, allocations: 16 kB / 243.1 MB, free: 10.46 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.0001018/0.02366, allocations: 132.5 kB / 243.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.0237, allocations: 32 kB / 243.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.024, allocations: 260.9 kB / 243.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.02401, allocations: 7.938 kB / 243.5 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02401, allocations: 3.938 kB / 243.5 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002303/0.02424, allocations: 465.5 kB / 244 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.0247, allocations: 437.3 kB / 244.4 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.02471, allocations: 4 kB / 244.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.02482, allocations: 52.02 kB / 244.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.02484, allocations: 19.86 kB / 244.5 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.02509, allocations: 96.55 kB / 244.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.02511, allocations: 8 kB / 244.6 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002518/0.02536, allocations: 0.5679 MB / 245.1 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.02536, allocations: 7.969 kB / 245.2 MB, free: 8.211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.02565, allocations: 314.2 kB / 245.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.02567, allocations: 12 kB / 245.5 MB, free: 7.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.02577, allocations: 11.98 kB / 245.5 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.02579, allocations: 19.77 kB / 245.5 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.02581, allocations: 15.98 kB / 245.5 MB, free: 7.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.555e-05/0.02588, allocations: 70.78 kB / 245.6 MB, free: 7.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02588, allocations: 4 kB / 245.6 MB, free: 7.746 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.02614, allocations: 111.9 kB / 245.7 MB, free: 7.637 MB / 250.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.0001974/0.02633, allocations: 120.2 kB / 245.8 MB, free: 7.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.02657, allocations: 163.2 kB / 246 MB, free: 7.348 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.02658, allocations: 8 kB / 246 MB, free: 7.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.02671, allocations: 97.86 kB / 246.1 MB, free: 7.242 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.02735, allocations: 0.8245 MB / 246.9 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.03145, allocations: 0.5604 MB / 247.5 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.175e-05/0.03151, allocations: 100.5 kB / 247.6 MB, free: 5.559 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.03169, allocations: 58.92 kB / 247.6 MB, free: 5.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.03197, allocations: 169.2 kB / 247.8 MB, free: 5.332 MB / 250.7 MB Notification: Performance of SimCode: time 1.203e-06/0.03198, allocations: 0 / 247.8 MB, free: 5.332 MB / 250.7 MB Notification: Performance of Templates: time 0.009721/0.0417, allocations: 7.349 MB / 255.1 MB, free: 14 MB / 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8769976617768407]