Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005606/0.005606, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8359/0.8359, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 325.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.458e-05, allocations: 4.109 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004795/0.004819, allocations: 4.636 MB / 330.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005813/0.005401, allocations: 0.5762 MB / 331 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.005461, allocations: 0 / 331 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.005707, allocations: 23.84 kB / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.006958, allocations: 0.6262 MB / 331.6 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.007151, allocations: 95.84 kB / 331.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.007373, allocations: 179.2 kB / 331.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.007412, allocations: 7.938 kB / 331.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007957/0.008208, allocations: 0.6586 MB / 332.5 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.008282, allocations: 43.83 kB / 332.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.008299, allocations: 8 kB / 332.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009505/0.00925, allocations: 0.9007 MB / 333.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.009301, allocations: 23.91 kB / 333.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.009345, allocations: 39.92 kB / 333.6 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.009711, allocations: 259.2 kB / 333.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.009716, allocations: 4 kB / 333.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.009717, allocations: 0 / 333.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.009722, allocations: 0 / 333.8 MB, free: 7.27 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.0004262/0.01015, allocations: 353.6 kB / 334.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01018, allocations: 11.98 kB / 334.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.01043, allocations: 36.86 kB / 334.2 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.01066, allocations: 133.7 kB / 334.3 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.01067, allocations: 12.36 kB / 334.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.01068, allocations: 12.38 kB / 334.4 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.0109, allocations: 222.4 kB / 334.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.01091, allocations: 0 / 334.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.01092, allocations: 0 / 334.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.01093, allocations: 4 kB / 334.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.01106, allocations: 111.8 kB / 334.7 MB, free: 6.301 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.0004973/0.01156, allocations: 0.5436 MB / 335.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.01167, allocations: 82.55 kB / 335.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.01172, allocations: 35.72 kB / 335.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.01189, allocations: 63.94 kB / 335.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.01191, allocations: 34.56 kB / 335.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.01191, allocations: 0 / 335.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000225/0.01214, allocations: 133.8 kB / 335.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.01217, allocations: 51.41 kB / 335.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.01224, allocations: 133.7 kB / 335.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.01226, allocations: 25.7 kB / 335.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.0123, allocations: 96.05 kB / 335.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.01232, allocations: 43.58 kB / 335.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.01236, allocations: 41.66 kB / 336 MB, free: 4.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.01244, allocations: 326.8 kB / 336.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.01247, allocations: 23.98 kB / 336.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.117e-05/0.01252, allocations: 72.25 kB / 336.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.376e-05/0.01262, allocations: 105 kB / 336.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01262, allocations: 0 / 336.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001349/0.01275, allocations: 144.5 kB / 336.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01277, allocations: 8 kB / 336.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01277, allocations: 0 / 336.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01278, allocations: 4 kB / 336.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.01287, allocations: 31.97 kB / 336.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01287, allocations: 7.984 kB / 336.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.01291, allocations: 15.83 kB / 336.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01293, allocations: 11.94 kB / 336.7 MB, free: 4.145 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 6.348e-05/0.01299, allocations: 117.8 kB / 336.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.01301, allocations: 16.11 kB / 336.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.0132, allocations: 134.3 kB / 337 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01321, allocations: 4 kB / 337 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01321, allocations: 0 / 337 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01321, allocations: 0 / 337 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.01349, allocations: 334 kB / 337.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01349, allocations: 4 kB / 337.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.01353, allocations: 27.92 kB / 337.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01354, allocations: 0 / 337.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.01354, allocations: 8 kB / 337.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01354, allocations: 0 / 337.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01355, allocations: 3.938 kB / 337.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.01367, allocations: 199.5 kB / 337.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.0137, allocations: 19.92 kB / 337.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.01371, allocations: 7.938 kB / 337.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.01376, allocations: 0 / 337.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.01378, allocations: 15.92 kB / 337.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01379, allocations: 7.938 kB / 337.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.875e-05/0.01383, allocations: 95.2 kB / 337.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01383, allocations: 4 kB / 337.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.01407, allocations: 71.8 kB / 337.7 MB, free: 3.031 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.0002181/0.01429, allocations: 159.1 kB / 337.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.01442, allocations: 83.16 kB / 338 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01443, allocations: 0 / 338 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.01446, allocations: 39.92 kB / 338 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.01472, allocations: 36.8 kB / 338.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.01507, allocations: 239 kB / 338.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.505e-05/0.01512, allocations: 79.58 kB / 338.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.01517, allocations: 28.48 kB / 338.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01517, allocations: 288 / 338.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of Templates: time 0.002895/0.01807, allocations: 2.291 MB / 340.7 MB, free: 32 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.127689675427973]