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.001329/0.001329, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001453/0.001453, allocations: 202.9 kB / 23.73 MB, free: 4.379 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.785 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: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2395, allocations: 53.36 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007545/0.2471, allocations: 4.636 MB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.248, allocations: 0.5764 MB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.2481, allocations: 4 kB / 436.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.2484, allocations: 23.83 kB / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.2501, allocations: 0.6112 MB / 436.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.2504, allocations: 103 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.2507, allocations: 183.2 kB / 437.2 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.2507, allocations: 11.98 kB / 437.2 MB, free: 468 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.252, allocations: 0.6292 MB / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2521, allocations: 47.78 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2521, allocations: 8 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.2537, allocations: 0.9164 MB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.2538, allocations: 23.91 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.2539, allocations: 35.86 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.2543, allocations: 243.3 kB / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2543, allocations: 0 / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2543, allocations: 0 / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.2544, allocations: 0 / 439.1 MB, free: 14.56 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.0004891/0.2548, allocations: 353.6 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2549, allocations: 12.03 kB / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.2549, allocations: 42.67 kB / 439.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.2553, allocations: 36.86 kB / 439.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.2556, allocations: 134.5 kB / 439.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2556, allocations: 8.125 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.2556, allocations: 8 kB / 439.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.2559, allocations: 220.6 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2559, allocations: 4 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2559, allocations: 8 kB / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2559, allocations: 4 kB / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.2561, allocations: 111.8 kB / 440 MB, free: 13.54 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.0007067/0.2568, allocations: 0.5706 MB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.257, allocations: 78.48 kB / 440.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.2571, allocations: 32.84 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.2573, allocations: 59.94 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2573, allocations: 34.56 kB / 440.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2573, allocations: 0 / 440.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002954/0.2576, allocations: 137.8 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2577, allocations: 55.34 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2578, allocations: 121.8 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2578, allocations: 29.7 kB / 441.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.2579, allocations: 95.98 kB / 441.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.2579, allocations: 51.59 kB / 441.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.258, allocations: 33.7 kB / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2581, allocations: 314.8 kB / 441.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.2581, allocations: 27.98 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.2582, allocations: 71.84 kB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2584, allocations: 112 kB / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2584, allocations: 3.938 kB / 441.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002214/0.2586, allocations: 137.5 kB / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2586, allocations: 7.984 kB / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2586, allocations: 8.156 kB / 442 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2586, allocations: 7.938 kB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2588, allocations: 31.98 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2588, allocations: 4 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.2588, allocations: 11.89 kB / 442 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.2589, allocations: 8 kB / 442 MB, free: 11.36 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.0001065/0.259, allocations: 121.8 kB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.259, allocations: 7.953 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.2593, allocations: 154.2 kB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2593, allocations: 0 / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2593, allocations: 0 / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2593, allocations: 0 / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.2598, allocations: 357.5 kB / 442.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2598, allocations: 0 / 442.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.2599, allocations: 31.91 kB / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2599, allocations: 4 kB / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2599, allocations: 0 / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2599, allocations: 0 / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2599, allocations: 0 / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.2601, allocations: 213.5 kB / 442.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.2601, allocations: 23.88 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2602, allocations: 0 / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.2603, allocations: 4 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.2603, allocations: 11.97 kB / 442.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2603, allocations: 4 kB / 442.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.085e-05/0.2604, allocations: 99.2 kB / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2604, allocations: 0 / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.2607, allocations: 63.81 kB / 443.1 MB, free: 10.2 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.000668/0.2614, allocations: 0.7864 MB / 443.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.2616, allocations: 86.22 kB / 444 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2616, allocations: 0 / 444 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.2616, allocations: 36.3 kB / 444 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2621, allocations: 39.97 kB / 444.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.2637, allocations: 1.583 MB / 445.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.387e-05/0.2637, allocations: 76.05 kB / 445.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2639, allocations: 36.81 kB / 445.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.2639, allocations: 35.41 kB / 445.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2639, allocations: 0 / 445.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.2936, allocations: 4.569 MB / 450.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.85, allocations: 7.234 kB / 450.4 MB, free: 2.969 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] 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: 13.200640391005436]