Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001563/0.001563, allocations: 112.4 kB / 21.93 MB, free: 5.219 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.001865/0.001865, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 62.52 kB / 348.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2657, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008847/0.2745, allocations: 7.159 MB / 404.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.2752, allocations: 0.5829 MB / 405.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.2753, allocations: 0 / 405.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.2755, allocations: 33.45 kB / 405.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.2771, allocations: 0.6018 MB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2773, allocations: 101.9 kB / 406.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.2776, allocations: 180.5 kB / 406.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.2776, allocations: 7.797 kB / 406.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.2787, allocations: 0.6312 MB / 406.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.2788, allocations: 53.22 kB / 406.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.2789, allocations: 4.875 kB / 406.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.2802, allocations: 0.8688 MB / 407.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.2803, allocations: 13.3 kB / 407.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.2803, allocations: 47.75 kB / 407.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.2807, allocations: 237.1 kB / 408.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2807, allocations: 2.141 kB / 408.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2807, allocations: 0 / 408.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2807, allocations: 0 / 408.1 MB, free: 3.418 MB / 318.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.0003718/0.2811, allocations: 345.5 kB / 408.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2811, allocations: 17.77 kB / 408.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.2815, allocations: 34.98 kB / 408.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.2817, allocations: 141.1 kB / 408.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2818, allocations: 9.094 kB / 408.6 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.2818, allocations: 5.75 kB / 408.6 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.282, allocations: 223.6 kB / 408.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.282, allocations: 0.9688 kB / 408.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.282, allocations: 5 kB / 408.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.282, allocations: 6.797 kB / 408.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.2822, allocations: 107.6 kB / 409 MB, free: 2.711 MB / 318.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.0005095/0.2827, allocations: 0.5515 MB / 409.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.2829, allocations: 81.02 kB / 409.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.2829, allocations: 34.06 kB / 409.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.2832, allocations: 56.86 kB / 409.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2832, allocations: 40.19 kB / 409.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2832, allocations: 3.938 kB / 409.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002505/0.2834, allocations: 125.6 kB / 409.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.2834, allocations: 53.42 kB / 409.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.2835, allocations: 119.5 kB / 410 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.2835, allocations: 27.17 kB / 410.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.2836, allocations: 105.9 kB / 410.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.2836, allocations: 52.36 kB / 410.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.2836, allocations: 34.12 kB / 410.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.2837, allocations: 322.6 kB / 410.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.2837, allocations: 27.12 kB / 410.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.2838, allocations: 67.92 kB / 410.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.2839, allocations: 108.1 kB / 410.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2839, allocations: 5.609 kB / 410.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001817/0.2841, allocations: 142.1 kB / 410.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2841, allocations: 5.188 kB / 410.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2841, allocations: 2 kB / 410.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2841, allocations: 2.188 kB / 410.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2842, allocations: 37.61 kB / 410.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2842, allocations: 5.328 kB / 411 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.2843, allocations: 16.11 kB / 411 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.2843, allocations: 7.094 kB / 411 MB, free: 1.066 MB / 318.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 5.532e-05/0.2844, allocations: 126.3 kB / 411.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.2844, allocations: 8.516 kB / 411.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.2846, allocations: 144.9 kB / 411.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2846, allocations: 1.562 kB / 411.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2846, allocations: 4 kB / 411.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2846, allocations: 5.844 kB / 411.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.2849, allocations: 324.3 kB / 411.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.285, allocations: 1.094 kB / 411.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/0.285, allocations: 21.02 kB / 411.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.285, allocations: 1.75 kB / 411.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.285, allocations: 5.656 kB / 411.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.285, allocations: 3.938 kB / 411.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.285, allocations: 1.562 kB / 411.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.2852, allocations: 201.6 kB / 411.8 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.2852, allocations: 22.77 kB / 411.8 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.2853, allocations: 12 kB / 411.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.2853, allocations: 5.844 kB / 411.8 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.2854, allocations: 7.609 kB / 411.9 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2854, allocations: 9.062 kB / 411.9 MB, free: 324 kB / 318.1 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.2854, allocations: 91.89 kB / 412 MB, free: 240 kB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2854, allocations: 0 / 412 MB, free: 240 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.2857, allocations: 58.95 kB / 412 MB, free: 224 kB / 318.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.0002091/0.2859, allocations: 161.2 kB / 412.2 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.2861, allocations: 79.53 kB / 412.2 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.2861, allocations: 0 / 412.2 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.2861, allocations: 39.83 kB / 412.3 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.2865, allocations: 54.06 kB / 412.3 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.287, allocations: 259.5 kB / 412.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.423e-05/0.2871, allocations: 88.47 kB / 412.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.2871, allocations: 22.38 kB / 412.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2871, allocations: 0 / 412.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Templates: time 0.00425/0.2914, allocations: 2.211 MB / 414.9 MB, free: 14.55 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.254419177770615]