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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2357, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006194/0.2419, allocations: 4.918 MB / 414.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000795/0.2427, allocations: 0.6192 MB / 414.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.2428, allocations: 0 / 414.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.243, allocations: 31.77 kB / 414.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.2446, allocations: 0.5878 MB / 415.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2449, allocations: 87.86 kB / 415.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2451, allocations: 183.2 kB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.2452, allocations: 7.984 kB / 415.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009619/0.2461, allocations: 0.6158 MB / 416.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.2462, allocations: 43.78 kB / 416.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2462, allocations: 4 kB / 416.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.2475, allocations: 0.889 MB / 417.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.2476, allocations: 27.91 kB / 417.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.2476, allocations: 47.73 kB / 417.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.248, allocations: 236.8 kB / 417.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.248, allocations: 0 / 417.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.248, allocations: 0 / 417.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.248, allocations: 0 / 417.5 MB, free: 9.262 MB / 334.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.0004659/0.2485, allocations: 427.2 kB / 417.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2486, allocations: 12.03 kB / 417.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.249, allocations: 36.81 kB / 418 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2492, allocations: 192.1 kB / 418.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2492, allocations: 8.375 kB / 418.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2492, allocations: 11.94 kB / 418.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.2495, allocations: 135.3 kB / 418.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2495, allocations: 3.938 kB / 418.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2495, allocations: 4 kB / 418.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2495, allocations: 4 kB / 418.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.2497, allocations: 107.9 kB / 418.4 MB, free: 8.238 MB / 334.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.0006687/0.2504, allocations: 0.6646 MB / 419.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.2505, allocations: 86.55 kB / 419.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.2506, allocations: 32.84 kB / 419.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/0.2512, allocations: 0.8115 MB / 420 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.2512, allocations: 30.56 kB / 420.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.2512, allocations: 4 kB / 420.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002882/0.2515, allocations: 137.6 kB / 420.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2516, allocations: 55.34 kB / 420.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.2516, allocations: 113.8 kB / 420.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2517, allocations: 33.64 kB / 420.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.2517, allocations: 103.9 kB / 420.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.2518, allocations: 47.34 kB / 420.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.2518, allocations: 37.7 kB / 420.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.2519, allocations: 314.8 kB / 420.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.252, allocations: 31.92 kB / 420.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.2521, allocations: 73.03 kB / 421 MB, free: 5.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2522, allocations: 101.1 kB / 421.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2522, allocations: 4 kB / 421.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001999/0.2524, allocations: 137.5 kB / 421.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2524, allocations: 4 kB / 421.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2525, allocations: 4 kB / 421.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2525, allocations: 4.094 kB / 421.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.2526, allocations: 39.92 kB / 421.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2526, allocations: 0 / 421.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.2527, allocations: 15.84 kB / 421.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.2527, allocations: 11.98 kB / 421.3 MB, free: 4.996 MB / 334.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 7.88e-05/0.2528, allocations: 121.7 kB / 421.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.2528, allocations: 11.91 kB / 421.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.2531, allocations: 150.2 kB / 421.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2531, allocations: 0 / 421.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2532, allocations: 0 / 421.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2532, allocations: 0 / 421.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.2536, allocations: 397.9 kB / 422 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2536, allocations: 0 / 422 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.2537, allocations: 19.98 kB / 422 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2537, allocations: 0 / 422 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2537, allocations: 8 kB / 422 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2537, allocations: 0 / 422 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2537, allocations: 4 kB / 422 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.2539, allocations: 203.3 kB / 422.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.254, allocations: 96.94 kB / 422.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.254, allocations: 7.984 kB / 422.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.2541, allocations: 4 kB / 422.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.2541, allocations: 15.92 kB / 422.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2541, allocations: 4 kB / 422.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.2542, allocations: 99.2 kB / 422.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2542, allocations: 0 / 422.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.2545, allocations: 60 kB / 422.5 MB, free: 3.707 MB / 334.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.000239/0.2548, allocations: 159.1 kB / 422.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.255, allocations: 91.83 kB / 422.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.255, allocations: 0 / 422.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.255, allocations: 43.92 kB / 422.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.2555, allocations: 40.2 kB / 422.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.2559, allocations: 235.4 kB / 423 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2561, allocations: 0.6928 MB / 423.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.2562, allocations: 41.02 kB / 423.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.2563, allocations: 15.44 kB / 423.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2563, allocations: 0 / 423.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of Templates: time 0.005298/0.2616, allocations: 2.494 MB / 426.3 MB, free: 15.88 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches