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.001535/0.001535, allocations: 112 kB / 20.43 MB, free: 1.449 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.001712/0.001712, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.525/1.525, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.001629/0.001629, allocations: 47.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2455, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007947/0.2534, allocations: 4.911 MB / 428 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2545, allocations: 0.6309 MB / 428.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.2545, allocations: 0 / 428.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.2548, allocations: 35.77 kB / 428.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.2563, allocations: 0.6034 MB / 429.3 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.2565, allocations: 94.73 kB / 429.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.2568, allocations: 187.2 kB / 429.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.2568, allocations: 11.92 kB / 429.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.258, allocations: 0.6236 MB / 430.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.2581, allocations: 47.84 kB / 430.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.2581, allocations: 8 kB / 430.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.2595, allocations: 0.8828 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.2596, allocations: 31.89 kB / 431.2 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.2597, allocations: 39.81 kB / 431.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.2601, allocations: 243 kB / 431.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2601, allocations: 0 / 431.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2601, allocations: 0 / 431.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2601, allocations: 0 / 431.4 MB, free: 6.312 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.0005464/0.2606, allocations: 357.6 kB / 431.8 MB, free: 5.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2607, allocations: 8.031 kB / 431.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.2611, allocations: 32.86 kB / 431.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2613, allocations: 142.3 kB / 432 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2614, allocations: 12.38 kB / 432 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.2614, allocations: 7.938 kB / 432 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.2616, allocations: 137.1 kB / 432.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2617, allocations: 3.938 kB / 432.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.2617, allocations: 4 kB / 432.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2617, allocations: 4 kB / 432.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.2619, allocations: 107.9 kB / 432.2 MB, free: 5.441 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.0007634/0.2626, allocations: 0.6402 MB / 432.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2628, allocations: 74.55 kB / 433 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.2628, allocations: 32.84 kB / 433 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.2631, allocations: 64.19 kB / 433 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.2632, allocations: 42.5 kB / 433.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.2632, allocations: 0 / 433.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003015/0.2635, allocations: 121.2 kB / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.2635, allocations: 59.34 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2636, allocations: 117.8 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2636, allocations: 25.7 kB / 433.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.2637, allocations: 107.9 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.2638, allocations: 47.62 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.2638, allocations: 33.7 kB / 433.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.264, allocations: 322.8 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.264, allocations: 27.98 kB / 433.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.538e-05/0.2641, allocations: 67.58 kB / 434 MB, free: 3.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.2642, allocations: 109.1 kB / 434.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2643, allocations: 0 / 434.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002355/0.2645, allocations: 141.5 kB / 434.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2645, allocations: 7.938 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2645, allocations: 0 / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2645, allocations: 7.938 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2646, allocations: 35.92 kB / 434.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2647, allocations: 4 kB / 434.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.2647, allocations: 15.89 kB / 434.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2647, allocations: 8.375 kB / 434.3 MB, free: 3.18 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 9.914e-05/0.2648, allocations: 122 kB / 434.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.2649, allocations: 11.89 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.2652, allocations: 145.9 kB / 434.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2652, allocations: 4 kB / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2652, allocations: 0 / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.2652, allocations: 7.922 kB / 434.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.2657, allocations: 360.9 kB / 435 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2657, allocations: 4 kB / 435 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.2658, allocations: 19.98 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2658, allocations: 0 / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2658, allocations: 4 kB / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2658, allocations: 0 / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2658, allocations: 0 / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.266, allocations: 215.3 kB / 435.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.266, allocations: 19.88 kB / 435.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2661, allocations: 0 / 435.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.975e-05/0.2662, allocations: 12 kB / 435.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.2662, allocations: 7.984 kB / 435.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2662, allocations: 4 kB / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.782e-05/0.2662, allocations: 91.27 kB / 435.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2662, allocations: 0 / 435.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.2666, allocations: 63.86 kB / 435.4 MB, free: 2.031 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.0002765/0.2669, allocations: 159 kB / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2671, allocations: 83.84 kB / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2671, allocations: 0 / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.2671, allocations: 31.98 kB / 435.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.2676, allocations: 56.41 kB / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.268, allocations: 228.3 kB / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2683, allocations: 0.6967 MB / 436.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.2684, allocations: 32.89 kB / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.2685, allocations: 19.42 kB / 436.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2685, allocations: 3.938 kB / 436.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of Templates: time 0.006191/0.2747, allocations: 2.477 MB / 439.2 MB, free: 14.22 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.74785037804395]