Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 230.4 MB / 251.1 MB, free: 8.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.84 kB / 368.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2402, allocations: 53.32 MB / 422.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007517/0.2477, allocations: 4.943 MB / 427.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.2487, allocations: 0.6192 MB / 427.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.2488, allocations: 4 kB / 427.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.249, allocations: 27.83 kB / 427.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.2507, allocations: 0.5878 MB / 428.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2509, allocations: 93.69 kB / 428.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.2512, allocations: 183.3 kB / 428.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.2512, allocations: 7.984 kB / 428.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.2523, allocations: 0.6197 MB / 429.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2524, allocations: 51.77 kB / 429.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2524, allocations: 4 kB / 429.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.2539, allocations: 0.8969 MB / 430.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.2539, allocations: 19.92 kB / 430.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.254, allocations: 47.78 kB / 430.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.2545, allocations: 246.8 kB / 430.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2545, allocations: 0 / 430.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2545, allocations: 0 / 430.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.2545, allocations: 0 / 430.6 MB, free: 15.47 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.0006291/0.2551, allocations: 426.7 kB / 431 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2552, allocations: 12.03 kB / 431 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.2556, allocations: 36.86 kB / 431.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.2559, allocations: 192.3 kB / 431.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.256, allocations: 8.375 kB / 431.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.256, allocations: 7.938 kB / 431.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.2563, allocations: 143.9 kB / 431.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2563, allocations: 0 / 431.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.2563, allocations: 4 kB / 431.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2563, allocations: 8 kB / 431.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.2565, allocations: 103.9 kB / 431.5 MB, free: 14.45 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.0007984/0.2573, allocations: 0.6568 MB / 432.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.2575, allocations: 82.55 kB / 432.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.2575, allocations: 36.83 kB / 432.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.2582, allocations: 0.8115 MB / 433.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2582, allocations: 30.56 kB / 433.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2582, allocations: 0 / 433.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003123/0.2586, allocations: 136.8 kB / 433.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2586, allocations: 55.34 kB / 433.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2587, allocations: 125.8 kB / 433.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2587, allocations: 29.7 kB / 433.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.2588, allocations: 96.38 kB / 433.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.2588, allocations: 51.58 kB / 433.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.2589, allocations: 37.66 kB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.259, allocations: 318.8 kB / 434 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.2591, allocations: 31.92 kB / 434 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.2592, allocations: 69.14 kB / 434.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2593, allocations: 101 kB / 434.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2593, allocations: 8 kB / 434.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002193/0.2595, allocations: 133.5 kB / 434.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2596, allocations: 4 kB / 434.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2596, allocations: 4 kB / 434.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2596, allocations: 3.938 kB / 434.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2597, allocations: 39.98 kB / 434.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2597, allocations: 3.938 kB / 434.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.2598, allocations: 11.89 kB / 434.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.2598, allocations: 16.16 kB / 434.4 MB, free: 11.21 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 9.473e-05/0.2599, allocations: 113.8 kB / 434.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.2599, allocations: 7.953 kB / 434.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.2602, allocations: 145.9 kB / 434.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2602, allocations: 0 / 434.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2602, allocations: 0 / 434.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2603, allocations: 3.984 kB / 434.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.2607, allocations: 401.6 kB / 435 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2607, allocations: 0 / 435 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.2608, allocations: 23.92 kB / 435.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2608, allocations: 4 kB / 435.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2608, allocations: 4 kB / 435.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2608, allocations: 0 / 435.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2608, allocations: 0 / 435.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.2611, allocations: 215.3 kB / 435.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.2611, allocations: 93.05 kB / 435.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2611, allocations: 4 kB / 435.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.2612, allocations: 4 kB / 435.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.2613, allocations: 11.92 kB / 435.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.2613, allocations: 8 kB / 435.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.403e-05/0.2614, allocations: 91.27 kB / 435.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2614, allocations: 0 / 435.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.2617, allocations: 55.88 kB / 435.5 MB, free: 9.938 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.0002851/0.262, allocations: 171.2 kB / 435.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.2622, allocations: 80.16 kB / 435.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2622, allocations: 4.062 kB / 435.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.2622, allocations: 35.92 kB / 435.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.2626, allocations: 43.89 kB / 435.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.2631, allocations: 247.4 kB / 436.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.2634, allocations: 0.6967 MB / 436.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2635, allocations: 24.81 kB / 436.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.2636, allocations: 27.41 kB / 436.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2636, allocations: 0 / 436.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of Templates: time 0.00615/0.2697, allocations: 2.506 MB / 439.4 MB, free: 6.082 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches