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.00182/0.00182, allocations: 75.7 kB / 20.68 MB, free: 1.02 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.002153/0.002153, allocations: 147.7 kB / 23.94 MB, free: 4.156 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.5/1.5, allocations: 173.3 MB / 200.4 MB, free: 12.88 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.754e-06/1.754e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.634e-05, allocations: 2.281 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008298/0.008324, allocations: 4.565 MB / 323.5 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.009471, allocations: 0.5751 MB / 324 MB, free: 116 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.009534, allocations: 0 / 324 MB, free: 116 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.009828, allocations: 33.33 kB / 324.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.01205, allocations: 0.6105 MB / 324.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.01244, allocations: 96.8 kB / 324.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.0128, allocations: 187.4 kB / 325 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.01284, allocations: 7.688 kB / 325 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.0145, allocations: 0.6512 MB / 325.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.01462, allocations: 41.14 kB / 325.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.01465, allocations: 5.5 kB / 325.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.01702, allocations: 0.8827 MB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.01709, allocations: 22.84 kB / 326.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.01718, allocations: 36.89 kB / 326.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006619/0.01784, allocations: 254.8 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01784, allocations: 1.891 kB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01784, allocations: 0 / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.01785, allocations: 4 kB / 326.9 MB, free: 15.29 MB / 302.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.0006532/0.0185, allocations: 337.1 kB / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01854, allocations: 11.23 kB / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006833/0.01922, allocations: 35.91 kB / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.01957, allocations: 143 kB / 327.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.01959, allocations: 3.75 kB / 327.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.01962, allocations: 14.06 kB / 327.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.01999, allocations: 220.7 kB / 327.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.02001, allocations: 3.938 kB / 327.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.02003, allocations: 10.16 kB / 327.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.02005, allocations: 6.203 kB / 327.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.02035, allocations: 106 kB / 327.7 MB, free: 14.59 MB / 302.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.0009798/0.02133, allocations: 0.5475 MB / 328.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.02155, allocations: 78.23 kB / 328.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.02165, allocations: 33.02 kB / 328.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.02201, allocations: 60.38 kB / 328.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.02206, allocations: 35.78 kB / 328.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.02206, allocations: 0 / 328.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004564/0.02251, allocations: 133.6 kB / 328.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.02257, allocations: 54.03 kB / 328.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.02271, allocations: 120.7 kB / 328.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.02275, allocations: 25.7 kB / 328.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.02284, allocations: 105.5 kB / 328.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.0229, allocations: 44.78 kB / 329 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.02299, allocations: 37.53 kB / 329 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.02317, allocations: 323.5 kB / 329.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.02326, allocations: 34.45 kB / 329.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.02338, allocations: 67.06 kB / 329.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.02361, allocations: 108 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02361, allocations: 1.031 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000352/0.02396, allocations: 140.9 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.02398, allocations: 5.25 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.02399, allocations: 2.188 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.02401, allocations: 6.797 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.02419, allocations: 32.73 kB / 329.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.02422, allocations: 6.859 kB / 329.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.02432, allocations: 12.3 kB / 329.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.02436, allocations: 11.56 kB / 329.7 MB, free: 12.97 MB / 302.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.0001435/0.0245, allocations: 127.3 kB / 329.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.02457, allocations: 8.828 kB / 329.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.02499, allocations: 135.8 kB / 330 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.02499, allocations: 2.594 kB / 330 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.025, allocations: 3.938 kB / 330 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.02501, allocations: 4.875 kB / 330 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006579/0.02566, allocations: 337.5 kB / 330.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.02567, allocations: 5.078 kB / 330.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.02579, allocations: 20.53 kB / 330.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.02579, allocations: 1.281 kB / 330.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.02581, allocations: 3.844 kB / 330.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.02581, allocations: 0 / 330.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.02582, allocations: 3.938 kB / 330.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.02616, allocations: 206.8 kB / 330.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.02624, allocations: 23.39 kB / 330.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.02626, allocations: 1.266 kB / 330.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.02643, allocations: 6.625 kB / 330.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.02647, allocations: 10.91 kB / 330.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.02649, allocations: 7.281 kB / 330.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.68e-05/0.02658, allocations: 94.38 kB / 330.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.02658, allocations: 0 / 330.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.02702, allocations: 60.83 kB / 330.8 MB, free: 12.18 MB / 302.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.0003278/0.02735, allocations: 158.2 kB / 330.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.02761, allocations: 80.44 kB / 331 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.02761, allocations: 0 / 331 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.0277, allocations: 35.73 kB / 331 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.02836, allocations: 42.94 kB / 331.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.02893, allocations: 211.9 kB / 331.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.02905, allocations: 80.67 kB / 331.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.02923, allocations: 38.67 kB / 331.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.094e-05/0.02931, allocations: 30.47 kB / 331.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.02931, allocations: 1.219 kB / 331.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Templates: time 0.009284/0.03859, allocations: 2.429 MB / 333.9 MB, free: 10.61 MB / 302.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.440036699175835]