Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 188.4 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 47.92 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2189, allocations: 52.18 MB / 423.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007117/0.226, allocations: 4.56 MB / 427.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008725/0.2268, allocations: 0.5686 MB / 428.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.2269, allocations: 0 / 428.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.2271, allocations: 35.72 kB / 428.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.2286, allocations: 0.6111 MB / 429.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2288, allocations: 94.05 kB / 429.2 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.2291, allocations: 187.2 kB / 429.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.2291, allocations: 19.91 kB / 429.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.2302, allocations: 0.6257 MB / 430 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.2303, allocations: 43.83 kB / 430.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2303, allocations: 8 kB / 430.1 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.2318, allocations: 0.8891 MB / 431 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.2319, allocations: 19.91 kB / 431 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.2319, allocations: 43.86 kB / 431 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.2324, allocations: 231.3 kB / 431.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2324, allocations: 0 / 431.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2324, allocations: 0 / 431.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2324, allocations: 4 kB / 431.3 MB, free: 6.578 MB / 334.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.0004818/0.2329, allocations: 349.6 kB / 431.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2329, allocations: 8.031 kB / 431.6 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.594e-05/0.2329, allocations: 4.188 kB / 431.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.233, allocations: 42.75 kB / 431.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.2333, allocations: 28.86 kB / 431.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.2336, allocations: 138.4 kB / 431.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2336, allocations: 15.88 kB / 431.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.2336, allocations: 4 kB / 431.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.2339, allocations: 218.2 kB / 432.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2339, allocations: 0 / 432.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.2339, allocations: 4 kB / 432.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2339, allocations: 4 kB / 432.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.2341, allocations: 114.2 kB / 432.2 MB, free: 5.57 MB / 334.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.0007236/0.2348, allocations: 0.5783 MB / 432.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.235, allocations: 70.55 kB / 432.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.539e-05/0.2351, allocations: 40.84 kB / 432.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.2353, allocations: 60.14 kB / 432.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2354, allocations: 38.56 kB / 433 MB, free: 4.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2354, allocations: 0 / 433 MB, free: 4.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002892/0.2357, allocations: 133.2 kB / 433.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2357, allocations: 55.41 kB / 433.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2358, allocations: 117.8 kB / 433.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2358, allocations: 29.7 kB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.2359, allocations: 107.9 kB / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.2359, allocations: 47.58 kB / 433.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.236, allocations: 33.7 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2361, allocations: 318.8 kB / 433.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.2362, allocations: 31.98 kB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.2363, allocations: 73.06 kB / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.2364, allocations: 105.1 kB / 434 MB, free: 3.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2364, allocations: 4 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000213/0.2366, allocations: 129.6 kB / 434.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2367, allocations: 12.03 kB / 434.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2367, allocations: 3.938 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.2367, allocations: 4 kB / 434.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.2368, allocations: 35.92 kB / 434.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.2368, allocations: 4 kB / 434.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.2369, allocations: 7.938 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2369, allocations: 12 kB / 434.2 MB, free: 3.379 MB / 334.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.679e-05/0.237, allocations: 117.8 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.237, allocations: 11.95 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.2373, allocations: 154.2 kB / 434.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2373, allocations: 4 kB / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2373, allocations: 0 / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2373, allocations: 0 / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.2378, allocations: 353.3 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2378, allocations: 0 / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.2379, allocations: 23.98 kB / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2379, allocations: 0 / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2379, allocations: 4 kB / 434.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2379, allocations: 7.984 kB / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2379, allocations: 0 / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2381, allocations: 211.4 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.2382, allocations: 19.88 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2382, allocations: 7.875 kB / 435.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.2383, allocations: 8 kB / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.2383, allocations: 7.984 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.2383, allocations: 11.98 kB / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.403e-05/0.2384, allocations: 87.28 kB / 435.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2384, allocations: 0 / 435.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.2387, allocations: 63.86 kB / 435.3 MB, free: 2.23 MB / 334.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.0006651/0.2394, allocations: 0.7942 MB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.2395, allocations: 68.16 kB / 436.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2395, allocations: 8.062 kB / 436.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.2396, allocations: 35.92 kB / 436.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.24, allocations: 43.94 kB / 436.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.2416, allocations: 1.581 MB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.542e-05/0.2417, allocations: 83.75 kB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.2418, allocations: 24.91 kB / 437.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.2418, allocations: 27.42 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2418, allocations: 3.938 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.2645, allocations: 4.133 MB / 442.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.05, allocations: 15.38 kB / 442.1 MB, free: 11.45 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.39355934294872]