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.001764/0.001764, allocations: 106 kB / 21.18 MB, free: 0.707 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.002062/0.002062, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.483/1.483, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.001808/0.001808, allocations: 55.92 kB / 347.6 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3025, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01176/0.3143, allocations: 7.85 MB / 404.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.3152, allocations: 0.6291 MB / 405.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.373e-05/0.3153, allocations: 0 / 405.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.3156, allocations: 25.72 kB / 405.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.3178, allocations: 0.6055 MB / 405.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3181, allocations: 93.09 kB / 406 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000393/0.3185, allocations: 184.4 kB / 406.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.3186, allocations: 8.281 kB / 406.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.3204, allocations: 0.6368 MB / 406.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3206, allocations: 44.95 kB / 406.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3206, allocations: 5.062 kB / 406.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.3228, allocations: 0.8882 MB / 407.8 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.3229, allocations: 21.8 kB / 407.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.323, allocations: 51.5 kB / 407.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006896/0.3237, allocations: 232.3 kB / 408.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3237, allocations: 0 / 408.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3237, allocations: 0 / 408.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3237, allocations: 0 / 408.1 MB, free: 2.727 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.0005847/0.3243, allocations: 350.8 kB / 408.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3243, allocations: 14 kB / 408.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.3249, allocations: 39.7 kB / 408.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3251, allocations: 138.9 kB / 408.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3251, allocations: 5.531 kB / 408.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3252, allocations: 12.98 kB / 408.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.3254, allocations: 137.7 kB / 408.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3254, allocations: 1.438 kB / 408.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3255, allocations: 5.031 kB / 408.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3255, allocations: 6.516 kB / 408.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.3257, allocations: 110.5 kB / 408.9 MB, free: 2.113 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.0006818/0.3263, allocations: 0.6391 MB / 409.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3265, allocations: 87.05 kB / 409.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.3265, allocations: 33.44 kB / 409.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.3268, allocations: 57.55 kB / 409.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3268, allocations: 36.72 kB / 409.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3268, allocations: 1.312 kB / 409.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002898/0.3271, allocations: 132.7 kB / 409.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.3272, allocations: 57.48 kB / 409.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.3272, allocations: 123.2 kB / 410 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3273, allocations: 27.02 kB / 410 MB, free: 1.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.3273, allocations: 101.5 kB / 410.1 MB, free: 1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.3273, allocations: 45.2 kB / 410.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.3274, allocations: 36.16 kB / 410.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.3274, allocations: 323.9 kB / 410.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.3275, allocations: 26.89 kB / 410.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3276, allocations: 71.64 kB / 410.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3277, allocations: 105.4 kB / 410.7 MB, free: 476 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3277, allocations: 1.531 kB / 410.7 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002019/0.3279, allocations: 141.1 kB / 410.9 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3279, allocations: 4.906 kB / 410.9 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3279, allocations: 1.312 kB / 410.9 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3279, allocations: 2.438 kB / 410.9 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.328, allocations: 34.08 kB / 410.9 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3281, allocations: 5 kB / 410.9 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.3281, allocations: 20.8 kB / 410.9 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3281, allocations: 6.875 kB / 410.9 MB, free: 372 kB / 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 6.465e-05/0.3282, allocations: 126.2 kB / 411.1 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.3282, allocations: 7.734 kB / 411.1 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.3285, allocations: 133.7 kB / 411.2 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3285, allocations: 1.625 kB / 411.2 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3285, allocations: 3.938 kB / 411.2 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3285, allocations: 7.984 kB / 411.2 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.3289, allocations: 368.7 kB / 411.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3289, allocations: 0 / 411.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.329, allocations: 21.98 kB / 411.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.329, allocations: 4.812 kB / 411.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.329, allocations: 5.219 kB / 411.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.329, allocations: 1.562 kB / 411.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.329, allocations: 0 / 411.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.3293, allocations: 218.5 kB / 411.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3293, allocations: 24.28 kB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3293, allocations: 1.531 kB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3295, allocations: 5.125 kB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.3295, allocations: 8.453 kB / 411.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3295, allocations: 9.344 kB / 411.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.3296, allocations: 90.89 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3296, allocations: 0 / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.3299, allocations: 67.58 kB / 412 MB, free: 15.45 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.0002677/0.3302, allocations: 152.6 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.3304, allocations: 83.44 kB / 412.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3304, allocations: 0 / 412.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.3304, allocations: 34.52 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3308, allocations: 42.06 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.3313, allocations: 241 kB / 412.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3316, allocations: 0.6994 MB / 413.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.3317, allocations: 35.19 kB / 413.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.3318, allocations: 16.38 kB / 413.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3318, allocations: 0 / 413.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Templates: time 0.006356/0.3381, allocations: 2.515 MB / 415.8 MB, free: 13.02 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.740896827541292]