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.0009344/0.0009344, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0008887/0.0008887, allocations: 165.6 kB / 25.7 MB, free: 8.434 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.8107/0.8107, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.213e-06/1.213e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.538e-05, allocations: 10.19 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.01865/0.01867, allocations: 9.396 MB / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.02265, allocations: 0.65 MB / 261.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.02279, allocations: 7.938 kB / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.02311, allocations: 79.42 kB / 261.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006587/0.02377, allocations: 337.8 kB / 262.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.025, allocations: 0.6739 MB / 262.7 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007144/0.02571, allocations: 0.8715 MB / 263.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.02586, allocations: 78.72 kB / 263.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.02761, allocations: 1.317 MB / 265 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.02788, allocations: 243.2 kB / 265.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.02793, allocations: 32 kB / 265.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.0282, allocations: 175.6 kB / 265.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.02831, allocations: 103.6 kB / 265.5 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.02842, allocations: 143.7 kB / 265.7 MB, free: 9.055 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.02876, allocations: 382.9 kB / 266 MB, free: 8.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.02877, allocations: 0 / 266 MB, free: 8.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02877, allocations: 0 / 266 MB, free: 8.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.02877, allocations: 0 / 266 MB, free: 8.68 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.0004768/0.02925, allocations: 0.5154 MB / 266.6 MB, free: 8.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.02927, allocations: 15.98 kB / 266.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.0295, allocations: 96.45 kB / 266.7 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.02971, allocations: 212.9 kB / 266.9 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.02973, allocations: 25.03 kB / 266.9 MB, free: 7.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.02976, allocations: 28.38 kB / 266.9 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.03003, allocations: 491.4 kB / 267.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.03005, allocations: 8.125 kB / 267.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.03007, allocations: 20.12 kB / 267.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.03008, allocations: 4 kB / 267.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.03018, allocations: 99.3 kB / 267.5 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009859/0.03116, allocations: 1.25 MB / 268.8 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.0313, allocations: 102.5 kB / 268.9 MB, free: 5.633 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.03135, allocations: 44.78 kB / 268.9 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.0314, allocations: 19.97 kB / 269 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.03142, allocations: 38.56 kB / 269 MB, free: 5.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.03142, allocations: 0 / 269 MB, free: 5.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001419/0.03284, allocations: 0.6976 MB / 269.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.03286, allocations: 55.41 kB / 269.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.03299, allocations: 228.9 kB / 270 MB, free: 4.484 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.03301, allocations: 29.7 kB / 270 MB, free: 4.449 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.03308, allocations: 176.4 kB / 270.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.03314, allocations: 103.1 kB / 270.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.0332, allocations: 77.98 kB / 270.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.03327, allocations: 334.8 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.03331, allocations: 32.73 kB / 270.7 MB, free: 3.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.03339, allocations: 118.8 kB / 270.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.03353, allocations: 192 kB / 271 MB, free: 3.352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.03354, allocations: 0 / 271 MB, free: 3.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002109/0.03375, allocations: 233.9 kB / 271.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.03376, allocations: 8 kB / 271.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.03376, allocations: 0 / 271.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.03396, allocations: 68.8 kB / 271.3 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.03409, allocations: 71.83 kB / 271.4 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002623/0.03436, allocations: 0.5721 MB / 272 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.03444, allocations: 11.97 kB / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.03446, allocations: 16 kB / 272 MB, free: 2.34 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 8.803e-05/0.03455, allocations: 140.6 kB / 272.1 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.03458, allocations: 27.97 kB / 272.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.03485, allocations: 268.8 kB / 272.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.03485, allocations: 4 kB / 272.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.03485, allocations: 3.938 kB / 272.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002178/0.03507, allocations: 461.3 kB / 272.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.03551, allocations: 445.1 kB / 273.3 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.03551, allocations: 0 / 273.3 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.03559, allocations: 39.97 kB / 273.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.03582, allocations: 88.7 kB / 273.4 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.03583, allocations: 8 kB / 273.4 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003116/0.03614, allocations: 0.5718 MB / 274 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.03614, allocations: 0 / 274 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.03646, allocations: 322 kB / 274.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.03649, allocations: 27.8 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.03652, allocations: 4 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.03662, allocations: 8 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.03664, allocations: 27.84 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.03666, allocations: 12.05 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.622e-05/0.03671, allocations: 78.77 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03671, allocations: 0 / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.03695, allocations: 107.9 kB / 274.6 MB, free: 15.52 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.0001647/0.03711, allocations: 120.2 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.03733, allocations: 148.1 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.03734, allocations: 8.188 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.03745, allocations: 94.16 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.03784, allocations: 140.4 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.03873, allocations: 0.5798 MB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.151e-05/0.03878, allocations: 96.56 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.03892, allocations: 58.81 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.03918, allocations: 161.2 kB / 276 MB, free: 14.06 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03918, allocations: 0 / 276 MB, free: 14.06 MB / 266.7 MB Notification: Performance of Templates: time 0.007698/0.04687, allocations: 6.887 MB / 282.9 MB, free: 7.211 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.6690899557434022]