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.001364/0.001364, allocations: 103.6 kB / 21.19 MB, free: 0.6445 MB / 14.72 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.001479/0.001479, allocations: 218.1 kB / 24.49 MB, free: 3.949 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 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 0.001589/0.001589, allocations: 51.92 kB / 378.9 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2387, allocations: 53.37 MB / 432.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007326/0.2461, allocations: 4.632 MB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.247, allocations: 0.5803 MB / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.247, allocations: 0 / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.2473, allocations: 23.84 kB / 437.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.2488, allocations: 0.619 MB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.249, allocations: 95.8 kB / 438.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.2493, allocations: 183.3 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.2493, allocations: 0 / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.2505, allocations: 0.6315 MB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2506, allocations: 51.7 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2506, allocations: 4 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.2521, allocations: 0.9183 MB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.2522, allocations: 15.98 kB / 440.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.2522, allocations: 47.78 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.2526, allocations: 235 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2526, allocations: 3.984 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2526, allocations: 3.938 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2526, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.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.0005223/0.2532, allocations: 357.6 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2532, allocations: 8.031 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004049/0.2536, allocations: 32.86 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.2539, allocations: 134.4 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2539, allocations: 8.375 kB / 440.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2539, allocations: 15.94 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.2542, allocations: 214.1 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2542, allocations: 0 / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.2543, allocations: 8 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2543, allocations: 0 / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.2545, allocations: 119.8 kB / 441.2 MB, free: 13.74 MB / 350.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.0007026/0.2552, allocations: 0.5282 MB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.2553, allocations: 85.48 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.2554, allocations: 32.84 kB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.2556, allocations: 63.92 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2557, allocations: 38.56 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2557, allocations: 0 / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003005/0.256, allocations: 129.8 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.256, allocations: 55.41 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2561, allocations: 141.5 kB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2562, allocations: 25.7 kB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.2562, allocations: 96.05 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.2563, allocations: 43.58 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.2563, allocations: 41.66 kB / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2565, allocations: 322.8 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.2565, allocations: 23.98 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.2566, allocations: 68.11 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.2568, allocations: 113 kB / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2568, allocations: 0 / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002244/0.257, allocations: 140.4 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.257, allocations: 4 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.257, allocations: 4 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.257, allocations: 160 / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2571, allocations: 35.98 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2571, allocations: 3.938 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.2572, allocations: 15.89 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.2572, allocations: 8 kB / 443.2 MB, free: 11.6 MB / 350.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.0001012/0.2573, allocations: 121.8 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.2574, allocations: 7.953 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.2577, allocations: 146.3 kB / 443.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2577, allocations: 3.938 kB / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2577, allocations: 4 kB / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2577, allocations: 7.984 kB / 443.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.2581, allocations: 318.1 kB / 443.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2581, allocations: 0 / 443.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.2582, allocations: 27.92 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2582, allocations: 3.938 kB / 443.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2582, allocations: 4 kB / 443.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2582, allocations: 3.984 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2582, allocations: 4 kB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.2584, allocations: 203.5 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.2585, allocations: 19.94 kB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.2585, allocations: 3.938 kB / 444.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.2586, allocations: 11.94 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.2586, allocations: 7.984 kB / 444.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.2586, allocations: 7.984 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.2587, allocations: 95.16 kB / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2587, allocations: 0 / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.259, allocations: 67.8 kB / 444.3 MB, free: 10.48 MB / 350.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.0002638/0.2593, allocations: 163.1 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.2595, allocations: 74.28 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2595, allocations: 4 kB / 444.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.2595, allocations: 31.92 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.26, allocations: 48.25 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.2604, allocations: 277.9 kB / 444.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.238e-05/0.2605, allocations: 79.77 kB / 444.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.2606, allocations: 19.44 kB / 444.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2606, allocations: 0 / 444.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Templates: time 0.004386/0.265, allocations: 2.247 MB / 447.2 MB, free: 7.5 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/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: 6.990774636011338]