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.0007801/0.0007801, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007445/0.0007445, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8433/0.8433, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.224e-05, allocations: 3.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004464/0.004476, allocations: 4.633 MB / 329.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.005074, allocations: 0.5801 MB / 329.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.005115, allocations: 0 / 329.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.005318, allocations: 27.77 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009842/0.006302, allocations: 0.6263 MB / 330.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.006449, allocations: 87.36 kB / 330.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.006627, allocations: 199.1 kB / 330.6 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.006658, allocations: 4 kB / 330.6 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.007326, allocations: 0.6508 MB / 331.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.007382, allocations: 43.88 kB / 331.3 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.007396, allocations: 4 kB / 331.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.008157, allocations: 0.9123 MB / 332.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.008197, allocations: 19.92 kB / 332.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.008232, allocations: 35.91 kB / 332.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.008528, allocations: 267.2 kB / 332.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.008529, allocations: 0 / 332.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00853, allocations: 0 / 332.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.008534, allocations: 0 / 332.6 MB, free: 7.785 MB / 298.7 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.0003342/0.008868, allocations: 353.6 kB / 332.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.0089, allocations: 15.98 kB / 332.9 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.008931, allocations: 38.75 kB / 333 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.009137, allocations: 36.86 kB / 333 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.009287, allocations: 137.6 kB / 333.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.009297, allocations: 4.375 kB / 333.1 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.009307, allocations: 8.375 kB / 333.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.009718, allocations: 222.2 kB / 333.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.009725, allocations: 0 / 333.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.009736, allocations: 7.938 kB / 333.4 MB, free: 6.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.00974, allocations: 4 kB / 333.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.009854, allocations: 111.8 kB / 333.5 MB, free: 6.766 MB / 298.7 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.0004394/0.01029, allocations: 0.5704 MB / 334.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.01039, allocations: 82.48 kB / 334.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.01043, allocations: 36.84 kB / 334.2 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.01058, allocations: 59.94 kB / 334.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.0106, allocations: 38.5 kB / 334.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.0106, allocations: 0 / 334.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001956/0.0108, allocations: 129 kB / 334.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.01082, allocations: 59.41 kB / 334.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.01089, allocations: 121.7 kB / 334.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.0109, allocations: 29.7 kB / 334.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.01094, allocations: 95.98 kB / 334.7 MB, free: 5.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.01097, allocations: 51.53 kB / 334.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.011, allocations: 33.7 kB / 334.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.01107, allocations: 323.2 kB / 335.1 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.0111, allocations: 31.98 kB / 335.1 MB, free: 5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.01115, allocations: 69.08 kB / 335.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.01125, allocations: 105.1 kB / 335.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01125, allocations: 3.938 kB / 335.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001284/0.01138, allocations: 137.5 kB / 335.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.01139, allocations: 10.81 kB / 335.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01139, allocations: 0 / 335.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.0114, allocations: 4.156 kB / 335.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.01148, allocations: 39.92 kB / 335.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.01148, allocations: 7.938 kB / 335.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.01151, allocations: 3.953 kB / 335.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.01153, allocations: 12 kB / 335.5 MB, free: 4.574 MB / 298.7 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 5.662e-05/0.01158, allocations: 117.8 kB / 335.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.0116, allocations: 11.95 kB / 335.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.01177, allocations: 137.9 kB / 335.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01177, allocations: 8 kB / 335.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01177, allocations: 3.938 kB / 335.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01178, allocations: 7.922 kB / 335.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.01204, allocations: 360.6 kB / 336.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01204, allocations: 0 / 336.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.01208, allocations: 23.98 kB / 336.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01208, allocations: 3.938 kB / 336.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.01209, allocations: 4 kB / 336.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.01209, allocations: 0 / 336.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01209, allocations: 0 / 336.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.01221, allocations: 203.4 kB / 336.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.01223, allocations: 19.94 kB / 336.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.01225, allocations: 11.92 kB / 336.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.0123, allocations: 8 kB / 336.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.01231, allocations: 7.984 kB / 336.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01232, allocations: 4 kB / 336.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.078e-05/0.01235, allocations: 91.27 kB / 336.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01235, allocations: 0 / 336.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000207/0.01256, allocations: 59.88 kB / 336.6 MB, free: 3.438 MB / 298.7 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.0003882/0.01295, allocations: 0.8062 MB / 337.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01307, allocations: 86.97 kB / 337.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01307, allocations: 0 / 337.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.0131, allocations: 35.92 kB / 337.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01335, allocations: 40.27 kB / 337.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.0143, allocations: 1.555 MB / 339.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.01435, allocations: 83.58 kB / 339.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.01442, allocations: 32.88 kB / 339.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.01447, allocations: 32.5 kB / 339.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01447, allocations: 0 / 339.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.02984, allocations: 4.664 MB / 343.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.687, allocations: 4 kB / 343.9 MB, free: 12.07 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/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: 8.257396240718663]