Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9094/0.9094, allocations: 173.4 MB / 202.2 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 4 kB / 269.2 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.907e-05, allocations: 5.266 kB / 269.2 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008736/0.008755, allocations: 4.843 MB / 274 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006762/0.009431, allocations: 0.6277 MB / 274.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.009482, allocations: 0.5 kB / 274.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.009689, allocations: 35.77 kB / 274.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.0109, allocations: 0.6107 MB / 275.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.01108, allocations: 99.78 kB / 275.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.01128, allocations: 187.1 kB / 275.6 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.01132, allocations: 8 kB / 275.6 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008513/0.01217, allocations: 0.647 MB / 276.2 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.01225, allocations: 47.83 kB / 276.3 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.01226, allocations: 8 kB / 276.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.01358, allocations: 0.8811 MB / 277.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.01363, allocations: 19.92 kB / 277.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.01368, allocations: 43.91 kB / 277.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.01402, allocations: 235.3 kB / 277.5 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.01402, allocations: 0 / 277.5 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01402, allocations: 0 / 277.5 MB, free: 1.516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.01402, allocations: 0 / 277.5 MB, free: 1.516 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003809/0.0144, allocations: 448 kB / 277.9 MB, free: 1.043 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.01444, allocations: 12.03 kB / 277.9 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.01477, allocations: 56.62 kB / 278 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.01491, allocations: 136.5 kB / 278.1 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.01493, allocations: 4.375 kB / 278.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.01494, allocations: 16.31 kB / 278.1 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.01512, allocations: 209.6 kB / 278.3 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.01513, allocations: 0 / 278.3 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.01514, allocations: 4 kB / 278.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.01515, allocations: 4 kB / 278.3 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.01524, allocations: 59.86 kB / 278.4 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.01571, allocations: 0.7078 MB / 279.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.674e-05/0.0158, allocations: 78.81 kB / 279.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.01584, allocations: 27.67 kB / 279.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.016, allocations: 55.95 kB / 279.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.01602, allocations: 41.39 kB / 279.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.01602, allocations: 0 / 279.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001872/0.01621, allocations: 105.8 kB / 279.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.01623, allocations: 55.41 kB / 279.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/0.01631, allocations: 177.8 kB / 279.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.01633, allocations: 29.7 kB / 279.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.01638, allocations: 150.7 kB / 279.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.01641, allocations: 43.58 kB / 279.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.01646, allocations: 47.34 kB / 279.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01657, allocations: 0.4961 MB / 280.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.0166, allocations: 19.92 kB / 280.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.01665, allocations: 76.28 kB / 280.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.01674, allocations: 101.6 kB / 280.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01674, allocations: 0 / 280.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001487/0.01689, allocations: 129.5 kB / 280.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.0169, allocations: 7.984 kB / 280.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01691, allocations: 4 kB / 280.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.01692, allocations: 3.984 kB / 280.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.01701, allocations: 35.92 kB / 280.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.01701, allocations: 0 / 280.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.01705, allocations: 11.95 kB / 280.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01707, allocations: 4 kB / 280.8 MB, free: 13.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.01714, allocations: 172.6 kB / 280.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.01717, allocations: 19.89 kB / 281 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.01736, allocations: 114.4 kB / 281.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01736, allocations: 4 kB / 281.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01737, allocations: 0 / 281.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01737, allocations: 0 / 281.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.01768, allocations: 353.9 kB / 281.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01768, allocations: 0 / 281.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.01774, allocations: 23.98 kB / 281.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01774, allocations: 4 kB / 281.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.01775, allocations: 4 kB / 281.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01775, allocations: 0 / 281.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01775, allocations: 0 / 281.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.0179, allocations: 247.1 kB / 281.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.01793, allocations: 23.88 kB / 281.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.01794, allocations: 7.984 kB / 281.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.01801, allocations: 0 / 281.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.01803, allocations: 11.98 kB / 281.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01804, allocations: 4 kB / 281.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.01808, allocations: 139.2 kB / 281.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01808, allocations: 0 / 281.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.01839, allocations: 63.81 kB / 281.9 MB, free: 12.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.01859, allocations: 175 kB / 282.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.0187, allocations: 63.53 kB / 282.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.0187, allocations: 0 / 282.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.01874, allocations: 39.67 kB / 282.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.01906, allocations: 52.25 kB / 282.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.01961, allocations: 226.2 kB / 282.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.01965, allocations: 63.84 kB / 282.5 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.646e-05/0.01975, allocations: 33.11 kB / 282.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.01987, allocations: 110.2 kB / 282.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01987, allocations: 4 kB / 282.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Templates: time 0.005089/0.02496, allocations: 2.906 MB / 285.6 MB, free: 9.008 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.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.738114863168448]