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.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.001804/0.001804, allocations: 103.9 kB / 19.75 MB, free: 2.656 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.00204/0.00204, allocations: 194.8 kB / 22.93 MB, free: 5.484 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.585/1.585, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 51.92 kB / 345.4 MB, free: 10.47 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3415, allocations: 49.13 MB / 394.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01111/0.3526, allocations: 7.85 MB / 402.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000877/0.3535, allocations: 0.6255 MB / 403 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.3536, allocations: 1.125 kB / 403 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.3539, allocations: 28.61 kB / 403 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.3557, allocations: 0.5796 MB / 403.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.3559, allocations: 96.88 kB / 403.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.3562, allocations: 184.5 kB / 403.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.3562, allocations: 3.156 kB / 403.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.3574, allocations: 0.6162 MB / 404.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.3575, allocations: 50.47 kB / 404.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3575, allocations: 8.25 kB / 404.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.359, allocations: 0.8693 MB / 405.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.3591, allocations: 21 kB / 405.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.3591, allocations: 44.95 kB / 405.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.3596, allocations: 243.5 kB / 405.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3596, allocations: 0 / 405.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3596, allocations: 0.9375 kB / 405.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3596, allocations: 0 / 405.7 MB, free: 2.66 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.0005449/0.3601, allocations: 426.3 kB / 406.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3602, allocations: 9.625 kB / 406.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.3606, allocations: 31.45 kB / 406.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.3608, allocations: 196 kB / 406.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3608, allocations: 7.125 kB / 406.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3609, allocations: 17.81 kB / 406.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3611, allocations: 136.3 kB / 406.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3611, allocations: 0 / 406.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.3611, allocations: 6.75 kB / 406.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3611, allocations: 1.375 kB / 406.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.3613, allocations: 106.4 kB / 406.6 MB, free: 1.895 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.0006132/0.3619, allocations: 0.677 MB / 407.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.3621, allocations: 77.47 kB / 407.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.3622, allocations: 36.47 kB / 407.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004477/0.3626, allocations: 0.8051 MB / 408.2 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3626, allocations: 35.41 kB / 408.3 MB, free: 192 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3626, allocations: 0.8438 kB / 408.3 MB, free: 192 kB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003008/0.3629, allocations: 134 kB / 408.4 MB, free: 120 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.363, allocations: 53.12 kB / 408.4 MB, free: 56 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3631, allocations: 123.7 kB / 408.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3631, allocations: 27.02 kB / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.3632, allocations: 108.8 kB / 408.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.3633, allocations: 45.39 kB / 408.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.3633, allocations: 36.52 kB / 408.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.3636, allocations: 324.2 kB / 409.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.3636, allocations: 25.83 kB / 409.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.3637, allocations: 67.84 kB / 409.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3639, allocations: 110.8 kB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3639, allocations: 0 / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002566/0.3641, allocations: 141.6 kB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3641, allocations: 6.391 kB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3642, allocations: 4.906 kB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3642, allocations: 2.906 kB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3643, allocations: 29.16 kB / 409.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3643, allocations: 11.34 kB / 409.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.3644, allocations: 14.67 kB / 409.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3644, allocations: 7.828 kB / 409.5 MB, free: 15.17 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.0001082/0.3645, allocations: 127.8 kB / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.3645, allocations: 12.77 kB / 409.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.3649, allocations: 140 kB / 409.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3649, allocations: 1.531 kB / 409.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3649, allocations: 3.938 kB / 409.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3649, allocations: 1.875 kB / 409.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.3654, allocations: 392.2 kB / 410.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3654, allocations: 7.938 kB / 410.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.3655, allocations: 21.34 kB / 410.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3655, allocations: 9.25 kB / 410.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3655, allocations: 1.984 kB / 410.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3655, allocations: 1.891 kB / 410.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3655, allocations: 0 / 410.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.3657, allocations: 203.6 kB / 410.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.3658, allocations: 102.5 kB / 410.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3658, allocations: 1.375 kB / 410.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.3659, allocations: 13.88 kB / 410.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.366, allocations: 7.031 kB / 410.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.366, allocations: 10.67 kB / 410.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.126e-05/0.366, allocations: 90.67 kB / 410.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.366, allocations: 0 / 410.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.3664, allocations: 61.75 kB / 410.7 MB, free: 14.21 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.0003346/0.3667, allocations: 166.7 kB / 410.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3669, allocations: 80.11 kB / 410.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3669, allocations: 0 / 410.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.111e-05/0.367, allocations: 35.08 kB / 411 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.3674, allocations: 47.44 kB / 411 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.368, allocations: 240.1 kB / 411.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3683, allocations: 0.6953 MB / 411.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3685, allocations: 30.53 kB / 412 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.3685, allocations: 18.27 kB / 412 MB, free: 13.15 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3685, allocations: 0 / 412 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Templates: time 0.007292/0.3758, allocations: 2.487 MB / 414.5 MB, free: 11.87 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/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: 4.985301927663386]