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.0019/0.0019, allocations: 88.48 kB / 20.95 MB, free: 464 kB / 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.00219/0.00219, allocations: 148.8 kB / 24.24 MB, free: 3.508 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.414/1.414, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.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 1.483e-06/1.483e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.385e-05, allocations: 2.312 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007293/0.007317, allocations: 4.572 MB / 271.9 MB, free: 5.617 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.008256, allocations: 0.5762 MB / 272.4 MB, free: 5.039 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.008299, allocations: 0 / 272.4 MB, free: 5.039 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.008522, allocations: 23.84 kB / 272.5 MB, free: 5.016 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.01008, allocations: 0.6185 MB / 273.1 MB, free: 4.395 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.01033, allocations: 99.72 kB / 273.2 MB, free: 4.297 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.01062, allocations: 183.2 kB / 273.4 MB, free: 4.117 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.01065, allocations: 4 kB / 273.4 MB, free: 4.113 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.01189, allocations: 0.6548 MB / 274 MB, free: 3.457 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.01199, allocations: 47.83 kB / 274.1 MB, free: 3.41 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.01201, allocations: 4 kB / 274.1 MB, free: 3.406 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.01355, allocations: 0.8811 MB / 274.9 MB, free: 2.523 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.01361, allocations: 23.91 kB / 275 MB, free: 2.5 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.01367, allocations: 31.92 kB / 275 MB, free: 2.469 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.01412, allocations: 251.3 kB / 275.2 MB, free: 2.223 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01413, allocations: 0 / 275.2 MB, free: 2.223 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01413, allocations: 4 kB / 275.2 MB, free: 2.219 MB / 254.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.01413, allocations: 0 / 275.2 MB, free: 2.219 MB / 254.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.0005562/0.01469, allocations: 349.6 kB / 275.6 MB, free: 1.848 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.01472, allocations: 12.92 kB / 275.6 MB, free: 1.836 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004957/0.01522, allocations: 56.62 kB / 275.7 MB, free: 1.781 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.01547, allocations: 137.6 kB / 275.8 MB, free: 1.621 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.01548, allocations: 8.375 kB / 275.8 MB, free: 1.613 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.01551, allocations: 8.375 kB / 275.8 MB, free: 1.605 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.01584, allocations: 222.3 kB / 276 MB, free: 1.352 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01585, allocations: 3.938 kB / 276 MB, free: 1.348 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.01587, allocations: 12 kB / 276 MB, free: 1.336 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.01588, allocations: 0 / 276 MB, free: 1.336 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.01607, allocations: 107.9 kB / 276.1 MB, free: 1.23 MB / 254.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.0007148/0.01679, allocations: 0.5437 MB / 276.7 MB, free: 0.6445 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.01695, allocations: 81.53 kB / 276.8 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.01701, allocations: 40.78 kB / 276.8 MB, free: 0.5156 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.0173, allocations: 59.94 kB / 276.9 MB, free: 468 kB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.01733, allocations: 30.56 kB / 276.9 MB, free: 428 kB / 254.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.01733, allocations: 8 kB / 276.9 MB, free: 420 kB / 254.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003169/0.01765, allocations: 129.9 kB / 277 MB, free: 284 kB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.01769, allocations: 51.41 kB / 277.1 MB, free: 220 kB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.0178, allocations: 125.7 kB / 277.2 MB, free: 84 kB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.01782, allocations: 29.7 kB / 277.2 MB, free: 48 kB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.0179, allocations: 99.84 kB / 277.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.01794, allocations: 47.59 kB / 277.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.018, allocations: 41.64 kB / 277.4 MB, free: 15.85 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01815, allocations: 322.8 kB / 277.7 MB, free: 15.53 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.0182, allocations: 19.98 kB / 277.8 MB, free: 15.51 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.01831, allocations: 77.12 kB / 277.8 MB, free: 15.41 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.01846, allocations: 101 kB / 277.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01847, allocations: 4 kB / 277.9 MB, free: 15.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002558/0.01872, allocations: 144.9 kB / 278.1 MB, free: 15.15 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01874, allocations: 4.156 kB / 278.1 MB, free: 15.14 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01874, allocations: 8 kB / 278.1 MB, free: 15.14 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.01876, allocations: 0 / 278.1 MB, free: 15.14 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.0189, allocations: 39.92 kB / 278.1 MB, free: 15.1 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.0189, allocations: 3.984 kB / 278.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.01897, allocations: 11.89 kB / 278.1 MB, free: 15.08 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.01899, allocations: 19.92 kB / 278.2 MB, free: 15.06 MB / 270.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 9.795e-05/0.01909, allocations: 117.8 kB / 278.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.01914, allocations: 15.95 kB / 278.3 MB, free: 14.92 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.01945, allocations: 138.3 kB / 278.4 MB, free: 14.78 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01946, allocations: 4 kB / 278.4 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01946, allocations: 0 / 278.4 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01946, allocations: 0 / 278.4 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.01992, allocations: 334 kB / 278.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01992, allocations: 0 / 278.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.02002, allocations: 27.98 kB / 278.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.02002, allocations: 0 / 278.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.02003, allocations: 0 / 278.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.02003, allocations: 3.938 kB / 278.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.02004, allocations: 11.94 kB / 278.8 MB, free: 14.37 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.02027, allocations: 203.5 kB / 279 MB, free: 14.15 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.02032, allocations: 23.86 kB / 279 MB, free: 14.13 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.02034, allocations: 4 kB / 279 MB, free: 14.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.02044, allocations: 4 kB / 279 MB, free: 14.12 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.02048, allocations: 11.92 kB / 279 MB, free: 14.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.02049, allocations: 4 kB / 279 MB, free: 14.11 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.02055, allocations: 91.27 kB / 279.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02055, allocations: 0 / 279.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.02091, allocations: 63.88 kB / 279.2 MB, free: 13.95 MB / 270.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.0002844/0.02119, allocations: 170.9 kB / 279.4 MB, free: 13.78 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.02138, allocations: 79.28 kB / 279.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02138, allocations: 320 / 279.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.943e-05/0.02144, allocations: 39.92 kB / 279.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.02189, allocations: 49.97 kB / 279.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.02234, allocations: 220.7 kB / 279.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.85e-05/0.02242, allocations: 79.83 kB / 279.8 MB, free: 13.28 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.02254, allocations: 33.11 kB / 279.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.02259, allocations: 20.5 kB / 279.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of SimCode: time 3.4e-07/0.02259, allocations: 0 / 279.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of Templates: time 0.006418/0.02901, allocations: 2.524 MB / 282.4 MB, free: 10.75 MB / 270.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/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: 4.249988280236721]