Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001284/0.001284, allocations: 115 kB / 18.46 MB, free: 4.621 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.001367/0.001367, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 43.94 kB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09843, allocations: 53.34 MB / 427.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2106/0.309, allocations: 4.936 MB / 432.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.3099, allocations: 0.6286 MB / 433 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.3099, allocations: 4.312 kB / 433 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.3102, allocations: 24.7 kB / 433.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.3115, allocations: 0.585 MB / 433.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.3117, allocations: 93.09 kB / 433.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.312, allocations: 183.3 kB / 433.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.312, allocations: 5.531 kB / 433.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009174/0.3129, allocations: 0.6113 MB / 434.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.313, allocations: 47.97 kB / 434.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.313, allocations: 5.406 kB / 434.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.3144, allocations: 0.8948 MB / 435.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.3144, allocations: 20.09 kB / 435.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.3145, allocations: 49.25 kB / 435.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.3149, allocations: 242.5 kB / 435.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3149, allocations: 3.438 kB / 435.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3149, allocations: 0 / 435.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3149, allocations: 1.312 kB / 435.8 MB, free: 7.891 MB / 350.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.0004418/0.3154, allocations: 428.3 kB / 436.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.3154, allocations: 8.969 kB / 436.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.3158, allocations: 34.98 kB / 436.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.316, allocations: 193.6 kB / 436.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.316, allocations: 7.125 kB / 436.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.316, allocations: 10.75 kB / 436.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.3163, allocations: 148.3 kB / 436.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3163, allocations: 0 / 436.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.3163, allocations: 5.125 kB / 436.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.3163, allocations: 3.234 kB / 436.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.3165, allocations: 108 kB / 436.7 MB, free: 7.199 MB / 350.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.0006102/0.3171, allocations: 0.6577 MB / 437.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3172, allocations: 79.38 kB / 437.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.3173, allocations: 35.02 kB / 437.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/0.3177, allocations: 0.807 MB / 438.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3177, allocations: 34.14 kB / 438.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.3177, allocations: 1.312 kB / 438.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002935/0.318, allocations: 131.9 kB / 438.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3181, allocations: 58.06 kB / 438.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.3181, allocations: 121.8 kB / 438.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.3181, allocations: 29.05 kB / 438.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.3182, allocations: 99.23 kB / 438.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3182, allocations: 50.09 kB / 438.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.3183, allocations: 46.62 kB / 438.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.3183, allocations: 316.8 kB / 439.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.3184, allocations: 29.3 kB / 439.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.3184, allocations: 66.95 kB / 439.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3185, allocations: 105.1 kB / 439.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3186, allocations: 0 / 439.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001858/0.3187, allocations: 135 kB / 439.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3188, allocations: 8.875 kB / 439.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3188, allocations: 2.594 kB / 439.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3188, allocations: 6.438 kB / 439.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3189, allocations: 33.91 kB / 439.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3189, allocations: 10.86 kB / 439.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.319, allocations: 11.45 kB / 439.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.319, allocations: 7.125 kB / 439.6 MB, free: 4.73 MB / 350.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.807e-05/0.3191, allocations: 123 kB / 439.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3191, allocations: 8.203 kB / 439.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.3194, allocations: 148.9 kB / 439.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3194, allocations: 10.03 kB / 439.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3194, allocations: 0.7031 kB / 439.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3194, allocations: 1.672 kB / 439.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.3198, allocations: 392.6 kB / 440.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3198, allocations: 0 / 440.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.3198, allocations: 29.67 kB / 440.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3198, allocations: 1.5 kB / 440.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3199, allocations: 5.391 kB / 440.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3199, allocations: 0.8906 kB / 440.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3199, allocations: 4 kB / 440.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.32, allocations: 197.4 kB / 440.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.3201, allocations: 99.45 kB / 440.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3201, allocations: 2.109 kB / 440.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.3202, allocations: 4.5 kB / 440.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.3202, allocations: 7.719 kB / 440.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3202, allocations: 10.12 kB / 440.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.3203, allocations: 93.28 kB / 440.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3203, allocations: 1.062 kB / 440.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.3206, allocations: 59.2 kB / 440.7 MB, free: 3.91 MB / 350.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.0002703/0.3209, allocations: 168.6 kB / 440.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3211, allocations: 83.5 kB / 441 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3211, allocations: 0 / 441 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.583e-05/0.3212, allocations: 38 kB / 441 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.3216, allocations: 45.61 kB / 441.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.322, allocations: 277.8 kB / 441.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.3222, allocations: 0.6937 MB / 442 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.3222, allocations: 27.23 kB / 442.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3222, allocations: 4 kB / 442.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Templates: time 0.004759/0.327, allocations: 2.221 MB / 444.3 MB, free: 2.652 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.088627885008464]