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.001349/0.001349, allocations: 100.7 kB / 20.47 MB, free: 1.129 MB / 14.72 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.00143/0.00143, allocations: 194.7 kB / 23.76 MB, free: 4.336 MB / 14.72 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 1.456/1.456, allocations: 225.7 MB / 252.6 MB, free: 12.77 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001753/0.001753, allocations: 51.92 kB / 371 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2378, allocations: 52.18 MB / 423.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007101/0.2449, allocations: 4.565 MB / 427.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.2458, allocations: 0.5803 MB / 428.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.2459, allocations: 0 / 428.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.2462, allocations: 35.77 kB / 428.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.2479, allocations: 0.5995 MB / 428.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.2482, allocations: 99.72 kB / 429 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.2484, allocations: 175.3 kB / 429.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.2485, allocations: 11.92 kB / 429.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.2496, allocations: 0.635 MB / 429.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.2497, allocations: 51.75 kB / 429.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.2498, allocations: 4 kB / 429.9 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.2512, allocations: 0.8735 MB / 430.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.2513, allocations: 27.91 kB / 430.8 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.2514, allocations: 31.88 kB / 430.8 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.2518, allocations: 237.9 kB / 431.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2518, allocations: 0 / 431.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2518, allocations: 4 kB / 431.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2518, allocations: 0 / 431.1 MB, free: 6.488 MB / 334.1 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.0005079/0.2523, allocations: 353.6 kB / 431.4 MB, free: 6.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2524, allocations: 12.03 kB / 431.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.2528, allocations: 32.86 kB / 431.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.253, allocations: 146.3 kB / 431.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.253, allocations: 8.375 kB / 431.6 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.2531, allocations: 11.94 kB / 431.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.2534, allocations: 217 kB / 431.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2534, allocations: 0 / 431.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.2534, allocations: 7.938 kB / 431.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2534, allocations: 4 kB / 431.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.2536, allocations: 110.7 kB / 431.9 MB, free: 5.52 MB / 334.1 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.0007264/0.2543, allocations: 0.5476 MB / 432.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.2545, allocations: 84.73 kB / 432.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.2546, allocations: 32.84 kB / 432.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.2549, allocations: 60.2 kB / 432.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2549, allocations: 30.56 kB / 432.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2549, allocations: 0 / 432.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003146/0.2552, allocations: 129.6 kB / 432.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.2553, allocations: 55.34 kB / 432.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2554, allocations: 121.8 kB / 433 MB, free: 4.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.2554, allocations: 29.7 kB / 433 MB, free: 4.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.2555, allocations: 107.9 kB / 433.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.2555, allocations: 43.58 kB / 433.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.2556, allocations: 37.7 kB / 433.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2557, allocations: 318.8 kB / 433.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.2558, allocations: 19.98 kB / 433.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.935e-05/0.2559, allocations: 73.12 kB / 433.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.256, allocations: 111.1 kB / 433.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.256, allocations: 4 kB / 433.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002372/0.2563, allocations: 129.5 kB / 433.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2563, allocations: 4 kB / 433.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2563, allocations: 4 kB / 433.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2563, allocations: 7.875 kB / 433.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.2564, allocations: 31.98 kB / 433.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.2564, allocations: 8.094 kB / 433.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.2565, allocations: 11.95 kB / 433.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.2565, allocations: 11.98 kB / 433.9 MB, free: 3.379 MB / 334.1 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.0001015/0.2566, allocations: 126.1 kB / 434.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.2567, allocations: 7.953 kB / 434.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.257, allocations: 145.9 kB / 434.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.257, allocations: 3.938 kB / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.257, allocations: 0 / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.257, allocations: 4 kB / 434.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.2574, allocations: 337.8 kB / 434.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2575, allocations: 0 / 434.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.2575, allocations: 31.92 kB / 434.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2575, allocations: 3.938 kB / 434.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2576, allocations: 4 kB / 434.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2576, allocations: 0 / 434.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2576, allocations: 0 / 434.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2578, allocations: 203.5 kB / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.2578, allocations: 19.88 kB / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.2578, allocations: 7.922 kB / 434.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2579, allocations: 12 kB / 434.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.258, allocations: 7.984 kB / 434.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.258, allocations: 4 kB / 434.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.258, allocations: 91.27 kB / 434.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 0 / 434.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.2584, allocations: 59.88 kB / 435 MB, free: 2.262 MB / 334.1 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.0002602/0.2586, allocations: 166.9 kB / 435.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.2588, allocations: 79.89 kB / 435.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2588, allocations: 0 / 435.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/0.2589, allocations: 35.92 kB / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2593, allocations: 44.5 kB / 435.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.2598, allocations: 236.2 kB / 435.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.2599, allocations: 83.83 kB / 435.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.26, allocations: 28.89 kB / 435.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.2601, allocations: 24.5 kB / 435.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2601, allocations: 0 / 435.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of Templates: time 0.00627/0.2664, allocations: 2.427 MB / 438.1 MB, free: 15.15 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.538177270442247]