Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 213.5 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.91 kB / 378.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2272, allocations: 53.41 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006798/0.234, allocations: 4.624 MB / 436.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.2348, allocations: 0.5764 MB / 437.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.2348, allocations: 8 kB / 437.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.235, allocations: 23.84 kB / 437.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.2364, allocations: 0.6112 MB / 437.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.2367, allocations: 99.05 kB / 437.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.237, allocations: 183.3 kB / 438 MB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.237, allocations: 4 kB / 438 MB, free: 328 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.2381, allocations: 0.6296 MB / 438.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.949e-05/0.2382, allocations: 51.77 kB / 438.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2382, allocations: 8 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2397, allocations: 0.9124 MB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.2397, allocations: 27.91 kB / 439.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.2398, allocations: 39.86 kB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.2402, allocations: 239.3 kB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2402, allocations: 0 / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2402, allocations: 0 / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2402, allocations: 0 / 439.9 MB, free: 14.42 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.000486/0.2407, allocations: 353.6 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2407, allocations: 8.031 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.229e-05/0.2407, allocations: 8.188 kB / 440.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.2408, allocations: 42.69 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.2412, allocations: 36.86 kB / 440.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.2414, allocations: 130.5 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2414, allocations: 11.94 kB / 440.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.2414, allocations: 8 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.2417, allocations: 220.8 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2417, allocations: 0 / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.2418, allocations: 8 kB / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2418, allocations: 0 / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.2419, allocations: 115.8 kB / 440.8 MB, free: 13.4 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.0006796/0.2426, allocations: 0.5705 MB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2428, allocations: 82.48 kB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.2428, allocations: 36.84 kB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.2431, allocations: 55.95 kB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2431, allocations: 30.56 kB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2431, allocations: 0 / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002996/0.2434, allocations: 141.7 kB / 441.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2434, allocations: 51.41 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2435, allocations: 117.8 kB / 441.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2436, allocations: 29.7 kB / 441.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.2436, allocations: 107.9 kB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.2437, allocations: 43.64 kB / 442.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.2437, allocations: 37.67 kB / 442.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2438, allocations: 318.8 kB / 442.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.2439, allocations: 23.98 kB / 442.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.244, allocations: 73.2 kB / 442.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.2441, allocations: 108.4 kB / 442.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2441, allocations: 4 kB / 442.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002185/0.2443, allocations: 141.5 kB / 442.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2444, allocations: 6.5 kB / 442.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2444, allocations: 11.92 kB / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2444, allocations: 0 / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2445, allocations: 31.98 kB / 442.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2445, allocations: 0 / 442.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.2446, allocations: 16.05 kB / 442.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2446, allocations: 12 kB / 442.9 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.349e-05/0.2447, allocations: 121.8 kB / 443 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.2447, allocations: 11.95 kB / 443 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.245, allocations: 150.2 kB / 443.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.245, allocations: 0 / 443.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.245, allocations: 0 / 443.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.245, allocations: 0 / 443.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.2455, allocations: 361.4 kB / 443.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2455, allocations: 4 kB / 443.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.2455, allocations: 27.92 kB / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2455, allocations: 0 / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2456, allocations: 4 kB / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2456, allocations: 0 / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2456, allocations: 4 kB / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.2458, allocations: 203.4 kB / 443.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.2458, allocations: 19.94 kB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.2458, allocations: 4 kB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.2459, allocations: 0 / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.2459, allocations: 11.98 kB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.246, allocations: 12 kB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.856e-05/0.246, allocations: 95.2 kB / 443.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.246, allocations: 3.938 kB / 443.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000327/0.2463, allocations: 63.8 kB / 443.9 MB, free: 10.05 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.0006413/0.247, allocations: 0.794 MB / 444.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.2472, allocations: 83.84 kB / 444.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2472, allocations: 0 / 444.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.108e-05/0.2472, allocations: 31.98 kB / 444.8 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.000399/0.2476, allocations: 40.27 kB / 444.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2492, allocations: 1.58 MB / 446.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.2492, allocations: 83.75 kB / 446.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.2493, allocations: 33.11 kB / 446.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/0.2494, allocations: 35.42 kB / 446.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2494, allocations: 0 / 446.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.2718, allocations: 4.224 MB / 450.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.82, allocations: 7.031 kB / 450.8 MB, free: 3.145 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.160095307976007]