Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.001427/0.001427, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001538/0.001538, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.452e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008134/0.008159, allocations: 4.628 MB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.009164, allocations: 0.5762 MB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.009209, allocations: 4 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.009444, allocations: 23.78 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.01108, allocations: 0.6224 MB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.01133, allocations: 91.84 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.01161, allocations: 191.1 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.01164, allocations: 4 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.01287, allocations: 0.6547 MB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.935e-05/0.01296, allocations: 47.88 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.01298, allocations: 4 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.01457, allocations: 0.9006 MB / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.01463, allocations: 35.84 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.856e-05/0.0147, allocations: 35.91 kB / 280.1 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.01517, allocations: 255.3 kB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01517, allocations: 0 / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.01518, allocations: 3.984 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.01518, allocations: 3.938 kB / 280.4 MB, free: 9.734 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005862/0.01577, allocations: 353.5 kB / 280.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.01581, allocations: 12.03 kB / 280.7 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.01625, allocations: 48.73 kB / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.01654, allocations: 145.6 kB / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.01656, allocations: 8.375 kB / 280.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.01658, allocations: 8.375 kB / 280.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.01692, allocations: 222.4 kB / 281.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.01692, allocations: 0 / 281.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.01695, allocations: 8 kB / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.01696, allocations: 0 / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.01717, allocations: 111.8 kB / 281.3 MB, free: 8.746 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.01793, allocations: 0.5398 MB / 281.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.01811, allocations: 78.48 kB / 281.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.01818, allocations: 40.84 kB / 281.9 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.01846, allocations: 63.92 kB / 282 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.01871, allocations: 34.56 kB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.01872, allocations: 0 / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003493/0.01906, allocations: 133.8 kB / 282.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.01911, allocations: 51.41 kB / 282.2 MB, free: 7.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.01924, allocations: 121.8 kB / 282.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.01927, allocations: 25.7 kB / 282.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.01935, allocations: 107.8 kB / 282.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.01939, allocations: 47.58 kB / 282.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.01946, allocations: 37.7 kB / 282.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.01964, allocations: 322.8 kB / 282.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.0197, allocations: 23.98 kB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.826e-05/0.0198, allocations: 69.12 kB / 282.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.01998, allocations: 112.9 kB / 283 MB, free: 6.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01998, allocations: 4 kB / 283 MB, free: 6.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002531/0.02023, allocations: 145.5 kB / 283.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.02025, allocations: 9.703 kB / 283.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.02025, allocations: 4 kB / 283.2 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.02027, allocations: 0 / 283.2 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.02041, allocations: 39.92 kB / 283.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.02042, allocations: 3.938 kB / 283.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.02048, allocations: 11.89 kB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.02051, allocations: 15.94 kB / 283.3 MB, free: 6.578 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 0.0001101/0.02062, allocations: 118 kB / 283.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.02066, allocations: 15.95 kB / 283.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.02099, allocations: 138.3 kB / 283.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.02099, allocations: 4 kB / 283.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02099, allocations: 0 / 283.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.021, allocations: 0 / 283.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.02148, allocations: 330 kB / 283.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.02148, allocations: 0 / 283.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.02158, allocations: 35.92 kB / 283.9 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.02158, allocations: 0 / 283.9 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.02159, allocations: 0 / 283.9 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.02159, allocations: 4 kB / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.0216, allocations: 3.938 kB / 283.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.02186, allocations: 207.5 kB / 284.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.02191, allocations: 19.94 kB / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.02193, allocations: 0 / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.02203, allocations: 7.938 kB / 284.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.02206, allocations: 11.92 kB / 284.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.02208, allocations: 12 kB / 284.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.678e-05/0.02214, allocations: 91.27 kB / 284.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02214, allocations: 4 kB / 284.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.02249, allocations: 63.86 kB / 284.3 MB, free: 5.465 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.0003103/0.0228, allocations: 167.2 kB / 284.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.02299, allocations: 79.78 kB / 284.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02299, allocations: 0 / 284.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.02305, allocations: 39.92 kB / 284.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.02349, allocations: 44.25 kB / 284.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.02395, allocations: 216.7 kB / 284.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.02405, allocations: 80.08 kB / 284.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.02417, allocations: 32.88 kB / 285 MB, free: 4.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.02423, allocations: 24.48 kB / 285 MB, free: 4.742 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.02423, allocations: 0 / 285 MB, free: 4.742 MB / 266.7 MB Notification: Performance of Templates: time 0.006851/0.03108, allocations: 2.61 MB / 287.6 MB, free: 2.188 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.35696576803457]