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.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.0008717/0.0008717, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.00102/0.00102, allocations: 160.5 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.8805/0.8805, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.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_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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.798e-05, allocations: 2.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006426/0.006444, allocations: 7.135 MB / 306.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004998/0.006944, allocations: 0.5801 MB / 307.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.006986, allocations: 0 / 307.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.007207, allocations: 27.83 kB / 307.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008915/0.008099, allocations: 0.6146 MB / 308 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.008243, allocations: 107.7 kB / 308.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.008417, allocations: 187.1 kB / 308.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.00845, allocations: 8 kB / 308.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.009186, allocations: 0.647 MB / 309 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.009246, allocations: 55.81 kB / 309 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.009263, allocations: 4 kB / 309 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007269/0.00999, allocations: 0.8849 MB / 309.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.01003, allocations: 19.92 kB / 309.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.01007, allocations: 35.91 kB / 310 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.01037, allocations: 251.4 kB / 310.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01038, allocations: 0 / 310.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01038, allocations: 0 / 310.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.01038, allocations: 0 / 310.2 MB, free: 12.34 MB / 298.7 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.0006716/0.01105, allocations: 361.5 kB / 310.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.01109, allocations: 11.98 kB / 310.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.01132, allocations: 32.86 kB / 310.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.01149, allocations: 137.6 kB / 310.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.0115, allocations: 12.38 kB / 310.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.01151, allocations: 8.375 kB / 310.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.01172, allocations: 214.7 kB / 311 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.01173, allocations: 192 / 311 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.01174, allocations: 12.12 kB / 311 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.01175, allocations: 0 / 311 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.01187, allocations: 115.8 kB / 311.1 MB, free: 11.36 MB / 298.7 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.0005029/0.01238, allocations: 0.5515 MB / 311.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.01249, allocations: 82.48 kB / 311.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.01253, allocations: 32.84 kB / 311.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.01272, allocations: 64.19 kB / 311.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.01274, allocations: 38.56 kB / 311.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.01274, allocations: 0 / 311.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002502/0.01299, allocations: 117.6 kB / 312 MB, free: 10.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.01303, allocations: 59.34 kB / 312 MB, free: 10.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.0131, allocations: 117.8 kB / 312.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.01312, allocations: 25.7 kB / 312.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.01317, allocations: 104.3 kB / 312.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.01319, allocations: 51.56 kB / 312.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.01323, allocations: 41.7 kB / 312.4 MB, free: 9.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.01332, allocations: 318.8 kB / 312.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.01336, allocations: 31.92 kB / 312.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.01341, allocations: 72.16 kB / 312.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.576e-05/0.01351, allocations: 109.1 kB / 312.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.01351, allocations: 0 / 312.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001408/0.01365, allocations: 137.4 kB / 313 MB, free: 9.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.01367, allocations: 11.98 kB / 313 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01367, allocations: 0 / 313 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01369, allocations: 4 kB / 313 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.01376, allocations: 31.92 kB / 313.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01377, allocations: 4 kB / 313.1 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.0138, allocations: 11.95 kB / 313.1 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01382, allocations: 4 kB / 313.1 MB, free: 9.215 MB / 298.7 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 7.013e-05/0.01389, allocations: 137.8 kB / 313.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.01391, allocations: 7.953 kB / 313.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.0141, allocations: 134.6 kB / 313.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.0141, allocations: 4 kB / 313.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.01411, allocations: 0 / 313.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01411, allocations: 0 / 313.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.01438, allocations: 334.2 kB / 313.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01439, allocations: 0 / 313.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.01443, allocations: 23.97 kB / 313.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01443, allocations: 8 kB / 313.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01444, allocations: 4 kB / 313.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.01444, allocations: 3.938 kB / 313.7 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01444, allocations: 3.984 kB / 313.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.01457, allocations: 203.4 kB / 313.9 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.0146, allocations: 23.88 kB / 314 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.01461, allocations: 0 / 314 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.01466, allocations: 4 kB / 314 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.01468, allocations: 11.92 kB / 314 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.01469, allocations: 15.92 kB / 314 MB, free: 8.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.38e-05/0.01473, allocations: 87.28 kB / 314.1 MB, free: 8.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01473, allocations: 8 kB / 314.1 MB, free: 8.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.01494, allocations: 59.86 kB / 314.1 MB, free: 8.098 MB / 298.7 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.0002222/0.01517, allocations: 163 kB / 314.3 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.0153, allocations: 79.91 kB / 314.4 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.0153, allocations: 0 / 314.4 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.01534, allocations: 39.92 kB / 314.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.0156, allocations: 35.95 kB / 314.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.01595, allocations: 239.1 kB / 314.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.09e-05/0.01601, allocations: 83.52 kB / 314.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.01605, allocations: 24.48 kB / 314.8 MB, free: 7.379 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01605, allocations: 288 / 314.8 MB, free: 7.379 MB / 298.7 MB Notification: Performance of Templates: time 0.002803/0.01886, allocations: 2.254 MB / 317.1 MB, free: 5.125 MB / 298.7 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.385587578639388]