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.001472/0.001472, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00152/0.00152, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.319/1.319, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.00172/0.00172, allocations: 55.91 kB / 378.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2164, allocations: 53.4 MB / 431.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006762/0.2232, allocations: 4.993 MB / 436.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.224, allocations: 0.6192 MB / 437.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.2241, allocations: 0 / 437.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.2243, allocations: 35.77 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.2256, allocations: 0.6034 MB / 438.2 MB, free: 420 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.2258, allocations: 111.2 kB / 438.3 MB, free: 312 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.226, allocations: 179.3 kB / 438.5 MB, free: 132 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.2261, allocations: 3.938 kB / 438.5 MB, free: 128 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.2271, allocations: 0.6275 MB / 439.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.2272, allocations: 51.83 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2272, allocations: 8 kB / 439.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.2286, allocations: 0.9135 MB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.2286, allocations: 23.91 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.2287, allocations: 43.81 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.229, allocations: 246.7 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.2291, allocations: 7.938 kB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2291, allocations: 0 / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2291, allocations: 0 / 440.4 MB, free: 14.21 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.0004544/0.2295, allocations: 349.6 kB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2296, allocations: 8.031 kB / 440.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.514e-05/0.2296, allocations: 4.188 kB / 440.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.2296, allocations: 42.73 kB / 440.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.23, allocations: 36.86 kB / 440.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.2302, allocations: 138.4 kB / 441 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2302, allocations: 7.938 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2302, allocations: 12 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.2305, allocations: 143.8 kB / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2305, allocations: 0 / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.2305, allocations: 12 kB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2305, allocations: 0 / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.2307, allocations: 107.9 kB / 441.2 MB, free: 13.29 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.0007446/0.2314, allocations: 0.6363 MB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.2316, allocations: 82.48 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.2316, allocations: 32.84 kB / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.2319, allocations: 63.86 kB / 442.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2319, allocations: 38.56 kB / 442.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.2319, allocations: 3.938 kB / 442.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002743/0.2322, allocations: 125.8 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2322, allocations: 55.41 kB / 442.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.2323, allocations: 121.8 kB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.2323, allocations: 25.7 kB / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.2324, allocations: 103.9 kB / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.2324, allocations: 43.64 kB / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.2325, allocations: 37.66 kB / 442.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2326, allocations: 322.8 kB / 442.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.2327, allocations: 23.98 kB / 442.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.2327, allocations: 73.14 kB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.2329, allocations: 112.5 kB / 443.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2329, allocations: 0 / 443.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002105/0.2331, allocations: 137.5 kB / 443.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2331, allocations: 10.5 kB / 443.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2331, allocations: 3.938 kB / 443.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2331, allocations: 4 kB / 443.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2332, allocations: 35.92 kB / 443.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2332, allocations: 4 kB / 443.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.2333, allocations: 12.05 kB / 443.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.2333, allocations: 8 kB / 443.3 MB, free: 11.02 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.785e-05/0.2334, allocations: 121.8 kB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.2335, allocations: 11.94 kB / 443.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.2337, allocations: 146.2 kB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2337, allocations: 4 kB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2337, allocations: 3.984 kB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2337, allocations: 4 kB / 443.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.2342, allocations: 361.4 kB / 444 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2342, allocations: 3.938 kB / 444 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.2343, allocations: 27.98 kB / 444 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2343, allocations: 0 / 444 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2343, allocations: 8 kB / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2343, allocations: 0 / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2343, allocations: 0 / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.2345, allocations: 214.7 kB / 444.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.2346, allocations: 19.94 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.2346, allocations: 7.938 kB / 444.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.2347, allocations: 0 / 444.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.2347, allocations: 7.984 kB / 444.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2347, allocations: 15.98 kB / 444.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.928e-05/0.2347, allocations: 87.28 kB / 444.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2347, allocations: 0 / 444.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000304/0.2351, allocations: 63.8 kB / 444.4 MB, free: 9.859 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.0006208/0.2357, allocations: 0.7942 MB / 445.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.2358, allocations: 83.89 kB / 445.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2358, allocations: 0 / 445.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.2359, allocations: 31.92 kB / 445.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2363, allocations: 40.56 kB / 445.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.2378, allocations: 1.584 MB / 446.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.2381, allocations: 0.6928 MB / 447.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.2382, allocations: 37 kB / 447.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.2382, allocations: 31.44 kB / 447.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2382, allocations: 0 / 447.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.2609, allocations: 4.074 MB / 451.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.56, allocations: 14.45 kB / 451.8 MB, free: 2.457 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: 12.870151710987557]