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.001309/0.001309, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001393/0.001393, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 8.004 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 51.92 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2249, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007183/0.2321, allocations: 4.99 MB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000866/0.2329, allocations: 0.6387 MB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.233, allocations: 0 / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.2332, allocations: 19.84 kB / 437.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.2346, allocations: 0.6112 MB / 438.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2348, allocations: 98.17 kB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.2351, allocations: 179.3 kB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.2351, allocations: 4 kB / 438.4 MB, free: 336 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.2362, allocations: 0.6275 MB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.2363, allocations: 55.77 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.2363, allocations: 4 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.2377, allocations: 0.9137 MB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.2378, allocations: 31.89 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.2378, allocations: 39.81 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.2382, allocations: 243 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2382, allocations: 3.938 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2382, allocations: 0 / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2382, allocations: 3.938 kB / 440.3 MB, free: 14.41 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.0004633/0.2387, allocations: 353.6 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2387, allocations: 16.03 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.148e-05/0.2387, allocations: 192 / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.2388, allocations: 50.73 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.2392, allocations: 28.88 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.2394, allocations: 134.4 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2394, allocations: 15.88 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2394, allocations: 8 kB / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.2397, allocations: 143.5 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2397, allocations: 0 / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2397, allocations: 4 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2397, allocations: 7.984 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.2399, allocations: 107.9 kB / 441.2 MB, free: 13.48 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.0007064/0.2406, allocations: 0.6363 MB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.2407, allocations: 74.55 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.2408, allocations: 32.84 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.241, allocations: 59.94 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2411, allocations: 34.56 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2411, allocations: 4 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000279/0.2413, allocations: 136.4 kB / 442.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.2414, allocations: 51.41 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.2415, allocations: 125.8 kB / 442.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2415, allocations: 25.7 kB / 442.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.2416, allocations: 95.98 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.2416, allocations: 47.62 kB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.2417, allocations: 41.66 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2418, allocations: 327.2 kB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.2418, allocations: 23.98 kB / 442.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.2419, allocations: 65.2 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.2421, allocations: 113 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2421, allocations: 3.938 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002063/0.2423, allocations: 137.5 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2423, allocations: 8 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2423, allocations: 3.938 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2423, allocations: 8.156 kB / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2424, allocations: 27.98 kB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2424, allocations: 3.938 kB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.2425, allocations: 15.89 kB / 443.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2425, allocations: 8 kB / 443.3 MB, free: 11.22 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.414e-05/0.2426, allocations: 117.8 kB / 443.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.2426, allocations: 11.89 kB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.2429, allocations: 161.2 kB / 443.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2429, allocations: 0 / 443.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2429, allocations: 4 kB / 443.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2429, allocations: 3.984 kB / 443.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.2434, allocations: 353.5 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2434, allocations: 0 / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.2434, allocations: 27.92 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2434, allocations: 0 / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.2435, allocations: 0 / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2435, allocations: 8 kB / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2435, allocations: 0 / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2437, allocations: 207.4 kB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.2437, allocations: 19.94 kB / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2437, allocations: 0 / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.2438, allocations: 4 kB / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.2438, allocations: 7.984 kB / 444.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2439, allocations: 7.938 kB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.2439, allocations: 95.27 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2439, allocations: 0 / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.2442, allocations: 71.8 kB / 444.4 MB, free: 10.07 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.000639/0.2449, allocations: 0.7984 MB / 445.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.245, allocations: 82.97 kB / 445.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.245, allocations: 3.938 kB / 445.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.2451, allocations: 35.92 kB / 445.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.2455, allocations: 48.25 kB / 445.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2471, allocations: 1.57 MB / 446.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2474, allocations: 0.6967 MB / 447.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.2475, allocations: 29.03 kB / 447.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.2475, allocations: 31.42 kB / 447.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2475, allocations: 0 / 447.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.2702, allocations: 4.09 MB / 451.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.81, allocations: 19.12 kB / 451.8 MB, free: 2.68 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.15948022104567]