Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0014/0.0014, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001546/0.001546, allocations: 211.5 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 51.92 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2566, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008162/0.2648, allocations: 4.628 MB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2659, allocations: 0.5764 MB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.266, allocations: 7.938 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.2663, allocations: 23.78 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.2682, allocations: 0.6112 MB / 438.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.2685, allocations: 98.98 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.2688, allocations: 187.2 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.2688, allocations: 4 kB / 438.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.2701, allocations: 0.6237 MB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.2702, allocations: 43.83 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.2702, allocations: 15.84 kB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.2719, allocations: 0.8989 MB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.272, allocations: 19.92 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.2721, allocations: 43.78 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.2727, allocations: 251 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2727, allocations: 0 / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2727, allocations: 0 / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2727, allocations: 0 / 440.3 MB, free: 14.7 MB / 350.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.0005811/0.2733, allocations: 349.6 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2733, allocations: 8.031 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.2737, allocations: 36.86 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.2741, allocations: 138.4 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2741, allocations: 4.375 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2741, allocations: 15.94 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.2744, allocations: 220.2 kB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2744, allocations: 0 / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.2744, allocations: 0 / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2744, allocations: 11.88 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.2746, allocations: 103.9 kB / 441.2 MB, free: 13.74 MB / 350.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.0008018/0.2754, allocations: 0.5438 MB / 441.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.2756, allocations: 74.55 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.2757, allocations: 36.84 kB / 441.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.276, allocations: 63.94 kB / 441.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.276, allocations: 38.44 kB / 442 MB, free: 12.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.276, allocations: 4 kB / 442 MB, free: 12.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003271/0.2763, allocations: 129.2 kB / 442.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2764, allocations: 51.41 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.2765, allocations: 129.7 kB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2765, allocations: 29.7 kB / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.2766, allocations: 96.03 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.2767, allocations: 51.56 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.2767, allocations: 37.66 kB / 442.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2769, allocations: 322.8 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.277, allocations: 27.98 kB / 442.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2771, allocations: 77.06 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.2772, allocations: 101.1 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2772, allocations: 0 / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002452/0.2775, allocations: 137.5 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2775, allocations: 8 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2775, allocations: 0 / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2775, allocations: 4 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.2777, allocations: 35.92 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.2777, allocations: 7.922 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.2777, allocations: 11.89 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2778, allocations: 12 kB / 443.2 MB, free: 11.58 MB / 350.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.000117/0.2779, allocations: 117.8 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2779, allocations: 16.08 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.2782, allocations: 140.9 kB / 443.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2782, allocations: 7.938 kB / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2782, allocations: 0 / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2782, allocations: 0 / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.2787, allocations: 330 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2787, allocations: 0 / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.091e-05/0.2788, allocations: 19.98 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2788, allocations: 3.938 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2788, allocations: 12 kB / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2788, allocations: 0 / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2788, allocations: 0 / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.2791, allocations: 203.4 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.2791, allocations: 27.89 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.2792, allocations: 15.94 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.2793, allocations: 3.938 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.2793, allocations: 7.984 kB / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.2793, allocations: 8 kB / 444.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.51e-05/0.2794, allocations: 91.27 kB / 444.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2794, allocations: 0 / 444.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.2797, allocations: 71.8 kB / 444.3 MB, free: 10.46 MB / 350.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.0003212/0.2801, allocations: 151.1 kB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.2803, allocations: 87.53 kB / 444.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2803, allocations: 0 / 444.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.2803, allocations: 35.92 kB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.2808, allocations: 43.89 kB / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.2814, allocations: 266.3 kB / 444.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2815, allocations: 83.64 kB / 444.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.2815, allocations: 23.72 kB / 444.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2815, allocations: 0 / 444.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Templates: time 0.005112/0.2866, allocations: 2.242 MB / 447.2 MB, free: 7.492 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.235981136094779]