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.001544/0.001544, allocations: 108.8 kB / 21.18 MB, free: 0.7617 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.001592/0.001592, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.498/1.498, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001682/0.001682, allocations: 43.94 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2631, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00829/0.2714, allocations: 4.911 MB / 428.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2724, allocations: 0.6309 MB / 429.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.2725, allocations: 0 / 429.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.2728, allocations: 35.77 kB / 429.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.2746, allocations: 0.5995 MB / 430 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.2748, allocations: 99.59 kB / 430.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.2752, allocations: 183.2 kB / 430.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.2752, allocations: 7.922 kB / 430.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.2765, allocations: 0.6314 MB / 431 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2767, allocations: 51.83 kB / 431 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.2767, allocations: 11.94 kB / 431 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.2784, allocations: 0.8828 MB / 431.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.2785, allocations: 19.92 kB / 431.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.2785, allocations: 51.78 kB / 432 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.2791, allocations: 231 kB / 432.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.678e-05/0.2791, allocations: 3.984 kB / 432.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2791, allocations: 0 / 432.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2791, allocations: 4 kB / 432.2 MB, free: 6.309 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.0006018/0.2797, allocations: 349.6 kB / 432.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2798, allocations: 8.031 kB / 432.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.2802, allocations: 36.86 kB / 432.6 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.2806, allocations: 142.3 kB / 432.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2806, allocations: 4.375 kB / 432.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.2806, allocations: 15.94 kB / 432.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.2809, allocations: 133.1 kB / 432.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2809, allocations: 0 / 432.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.2809, allocations: 4 kB / 432.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2809, allocations: 0 / 432.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.2811, allocations: 115.8 kB / 433 MB, free: 5.445 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.0008728/0.282, allocations: 0.6441 MB / 433.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.2822, allocations: 74.55 kB / 433.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.2822, allocations: 36.84 kB / 433.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.2825, allocations: 64.19 kB / 433.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2826, allocations: 30.56 kB / 433.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2826, allocations: 0 / 433.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003349/0.2829, allocations: 133.5 kB / 434 MB, free: 4.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.283, allocations: 55.34 kB / 434 MB, free: 4.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2831, allocations: 113.8 kB / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.2831, allocations: 33.7 kB / 434.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.2832, allocations: 107.9 kB / 434.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.2832, allocations: 43.64 kB / 434.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.2833, allocations: 37.7 kB / 434.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2835, allocations: 310.8 kB / 434.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.2835, allocations: 27.98 kB / 434.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.2836, allocations: 76.34 kB / 434.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.2838, allocations: 109.1 kB / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2838, allocations: 0 / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002406/0.284, allocations: 141.4 kB / 435 MB, free: 3.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2841, allocations: 4 kB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2841, allocations: 4 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2841, allocations: 3.938 kB / 435 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2842, allocations: 35.92 kB / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2842, allocations: 0 / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.2843, allocations: 19.88 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.2843, allocations: 8 kB / 435.1 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 0.0001008/0.2844, allocations: 118 kB / 435.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.2844, allocations: 7.953 kB / 435.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.2848, allocations: 157.2 kB / 435.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2848, allocations: 0 / 435.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2848, allocations: 0 / 435.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2848, allocations: 0 / 435.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.2853, allocations: 365.5 kB / 435.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2853, allocations: 4 kB / 435.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.2854, allocations: 23.98 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2854, allocations: 0 / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.2854, allocations: 8 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2854, allocations: 0 / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2854, allocations: 0 / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.2856, allocations: 207.4 kB / 436 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.2857, allocations: 23.88 kB / 436 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2857, allocations: 8 kB / 436 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.2858, allocations: 3.984 kB / 436 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.2858, allocations: 11.98 kB / 436 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2858, allocations: 4 kB / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.428e-05/0.2859, allocations: 95.2 kB / 436.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2859, allocations: 0 / 436.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003541/0.2863, allocations: 59.88 kB / 436.2 MB, free: 2.027 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.0003024/0.2866, allocations: 155 kB / 436.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.2868, allocations: 90.7 kB / 436.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2868, allocations: 0 / 436.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.876e-05/0.2869, allocations: 32.3 kB / 436.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.2873, allocations: 51.83 kB / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.2878, allocations: 262 kB / 436.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.2882, allocations: 0.6928 MB / 437.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.2883, allocations: 27.42 kB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2883, allocations: 0 / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of Templates: time 0.005034/0.2933, allocations: 2.146 MB / 439.6 MB, free: 14.52 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/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: 7.219540904043242]