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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 114.8 kB / 17.75 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 184.5 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.86 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.239, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006256/0.2453, allocations: 4.845 MB / 406.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.2462, allocations: 0.6269 MB / 406.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.2462, allocations: 0 / 406.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.2464, allocations: 27.83 kB / 406.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.2477, allocations: 0.5917 MB / 407.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.2479, allocations: 88.11 kB / 407.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.2481, allocations: 179.2 kB / 407.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.2482, allocations: 4 kB / 407.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009608/0.2492, allocations: 0.6236 MB / 408.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.2492, allocations: 47.84 kB / 408.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.2493, allocations: 4 kB / 408.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.2505, allocations: 0.85 MB / 409.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.2505, allocations: 27.91 kB / 409.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.2506, allocations: 43.8 kB / 409.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.251, allocations: 232.8 kB / 409.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.251, allocations: 0 / 409.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.251, allocations: 0 / 409.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.251, allocations: 0 / 409.6 MB, free: 0.6641 MB / 318.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.0005082/0.2516, allocations: 423.2 kB / 410 MB, free: 208 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2516, allocations: 12.03 kB / 410 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.252, allocations: 40.75 kB / 410 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.2523, allocations: 196.1 kB / 410.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2523, allocations: 12.33 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.2524, allocations: 7.938 kB / 410.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.2526, allocations: 133.1 kB / 410.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2526, allocations: 0 / 410.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.2526, allocations: 8 kB / 410.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2527, allocations: 4 kB / 410.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.2528, allocations: 107.8 kB / 410.5 MB, free: 15.64 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.0007496/0.2536, allocations: 0.6683 MB / 411.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.2538, allocations: 90.48 kB / 411.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.2538, allocations: 36.84 kB / 411.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.2544, allocations: 0.8076 MB / 412.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2545, allocations: 38.5 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2545, allocations: 0 / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002907/0.2548, allocations: 121.8 kB / 412.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2548, allocations: 67.34 kB / 412.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.2549, allocations: 113.8 kB / 412.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.255, allocations: 29.7 kB / 412.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.255, allocations: 95.89 kB / 412.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.2551, allocations: 43.36 kB / 412.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.2551, allocations: 33.7 kB / 412.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2552, allocations: 322.8 kB / 412.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.2553, allocations: 27.98 kB / 413 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.2554, allocations: 73.08 kB / 413 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2555, allocations: 103.7 kB / 413.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2555, allocations: 0 / 413.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002012/0.2557, allocations: 137.4 kB / 413.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2557, allocations: 4 kB / 413.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2558, allocations: 4.312 kB / 413.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2558, allocations: 7.938 kB / 413.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2559, allocations: 35.92 kB / 413.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2559, allocations: 7.984 kB / 413.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.256, allocations: 19.94 kB / 413.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.256, allocations: 12 kB / 413.4 MB, free: 12.39 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 8.863e-05/0.2561, allocations: 117.8 kB / 413.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.2562, allocations: 7.906 kB / 413.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.2565, allocations: 153.9 kB / 413.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2565, allocations: 4 kB / 413.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2565, allocations: 0 / 413.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2565, allocations: 4 kB / 413.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.2569, allocations: 398.1 kB / 414 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2569, allocations: 0 / 414 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.257, allocations: 20 kB / 414 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.257, allocations: 0 / 414 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.257, allocations: 11.98 kB / 414.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.257, allocations: 0 / 414.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.257, allocations: 0 / 414.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.2572, allocations: 203.3 kB / 414.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.2573, allocations: 100.9 kB / 414.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2573, allocations: 4 kB / 414.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.2574, allocations: 0 / 414.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.2575, allocations: 11.98 kB / 414.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2575, allocations: 11.98 kB / 414.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.294e-05/0.2575, allocations: 87.28 kB / 414.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2575, allocations: 0 / 414.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.2579, allocations: 59.98 kB / 414.5 MB, free: 11.11 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.0002505/0.2581, allocations: 163.8 kB / 414.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.2583, allocations: 88.03 kB / 414.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2583, allocations: 0 / 414.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.2584, allocations: 35.98 kB / 414.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.2588, allocations: 52.11 kB / 414.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.2593, allocations: 261.3 kB / 415.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.2595, allocations: 0.6928 MB / 415.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.2596, allocations: 23.44 kB / 415.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2596, allocations: 0 / 415.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of Templates: time 0.00376/0.2634, allocations: 2.138 MB / 418 MB, free: 7.621 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches