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.001058/0.001058, allocations: 79.75 kB / 22.45 MB, free: 2.098 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.0009132/0.0009132, allocations: 169.7 kB / 25.75 MB, free: 8.594 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.8712/0.8712, allocations: 158.6 MB / 187.5 MB, free: 2.938 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.693e-06/1.693e-06, allocations: 0 / 251.2 MB, free: 7.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.046e-05, allocations: 10.25 kB / 251.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02202/0.02204, allocations: 25.02 MB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.02475, allocations: 2.526 MB / 278.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.0249, allocations: 7.938 kB / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.02537, allocations: 158.9 kB / 278.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.02584, allocations: 349.8 kB / 279.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.02746, allocations: 1.009 MB / 280.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.02831, allocations: 0.8988 MB / 281.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.02848, allocations: 72.75 kB / 281.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.03173, allocations: 2.915 MB / 284.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.03201, allocations: 255.2 kB / 284.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.03205, allocations: 28 kB / 284.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.03244, allocations: 243.5 kB / 284.6 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.03253, allocations: 103.6 kB / 284.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.03266, allocations: 147.7 kB / 284.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.03341, allocations: 446.6 kB / 285.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.03341, allocations: 0 / 285.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.03341, allocations: 0 / 285.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.03342, allocations: 0 / 285.3 MB, free: 5.488 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006458/0.03406, allocations: 0.6592 MB / 286 MB, free: 4.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.0341, allocations: 11.98 kB / 286 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.0344, allocations: 100.3 kB / 286.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.03469, allocations: 248 kB / 286.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.03471, allocations: 21.03 kB / 286.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.03475, allocations: 32.36 kB / 286.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.03515, allocations: 0.5271 MB / 286.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.03517, allocations: 8.078 kB / 286.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.0352, allocations: 16.12 kB / 286.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.03521, allocations: 8 kB / 286.9 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.03539, allocations: 138.8 kB / 287.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.03667, allocations: 1.829 MB / 288.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.03688, allocations: 139 kB / 289 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.03695, allocations: 55.66 kB / 289.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.037, allocations: 19.98 kB / 289.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.03703, allocations: 45.39 kB / 289.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.03703, allocations: 0 / 289.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.001634/0.03866, allocations: 0.7517 MB / 289.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.0387, allocations: 55.41 kB / 289.9 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.0389, allocations: 288.2 kB / 290.2 MB, free: 216 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.03892, allocations: 33.7 kB / 290.3 MB, free: 176 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.03905, allocations: 231.3 kB / 290.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.0391, allocations: 103.1 kB / 290.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.03918, allocations: 79.67 kB / 290.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.03935, allocations: 0.504 MB / 291.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.03943, allocations: 60.64 kB / 291.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.03957, allocations: 158 kB / 291.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.0398, allocations: 244.2 kB / 291.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.03981, allocations: 4 kB / 291.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006759/0.04048, allocations: 316.6 kB / 291.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.0405, allocations: 4 kB / 291.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.0405, allocations: 7.938 kB / 291.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.04076, allocations: 75.62 kB / 292 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.04091, allocations: 72.2 kB / 292.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003869/0.04129, allocations: 0.8779 MB / 293 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.04137, allocations: 8 kB / 293 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.0414, allocations: 20 kB / 293 MB, free: 13.27 MB / 282.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.0001017/0.0415, allocations: 180.4 kB / 293.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.04155, allocations: 39.81 kB / 293.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.04192, allocations: 323.1 kB / 293.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.04193, allocations: 7.938 kB / 293.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.04193, allocations: 0 / 293.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003034/0.04223, allocations: 0.5157 MB / 294.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.04284, allocations: 0.6135 MB / 294.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.04285, allocations: 0 / 294.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.04293, allocations: 43.91 kB / 294.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.04319, allocations: 91.53 kB / 294.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.0432, allocations: 8.062 kB / 294.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003337/0.04353, allocations: 0.8585 MB / 295.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.04354, allocations: 4 kB / 295.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.04394, allocations: 442.5 kB / 296.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.04396, allocations: 19.86 kB / 296.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.04399, allocations: 7.938 kB / 296.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.0441, allocations: 16.05 kB / 296.1 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.04413, allocations: 19.91 kB / 296.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.04415, allocations: 15.98 kB / 296.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.04426, allocations: 201.1 kB / 296.4 MB, free: 9.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04426, allocations: 0 / 296.4 MB, free: 9.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.04454, allocations: 111.9 kB / 296.5 MB, free: 9.527 MB / 282.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.000183/0.04472, allocations: 151 kB / 296.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.04503, allocations: 194.6 kB / 296.8 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.04504, allocations: 0 / 296.8 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.04518, allocations: 101 kB / 296.9 MB, free: 9.078 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.04565, allocations: 156.6 kB / 297.1 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.04662, allocations: 0.5844 MB / 297.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.351e-05/0.04667, allocations: 96.56 kB / 297.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.04681, allocations: 58.86 kB / 297.8 MB, free: 8.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.04686, allocations: 28.5 kB / 297.8 MB, free: 8.102 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04686, allocations: 0 / 297.8 MB, free: 8.102 MB / 282.7 MB Notification: Performance of Templates: time 0.007623/0.05448, allocations: 6.428 MB / 304.3 MB, free: 1.711 MB / 282.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.808934791944921]