Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001948/0.001949, allocations: 107.9 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00236/0.002361, allocations: 186.4 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.934/2.934, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 48.34 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2076, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.576/0.7837, allocations: 7.755 MB / 383.6 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.7864, allocations: 0.6187 MB / 384.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.7867, allocations: 1.875 kB / 384.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.7874, allocations: 32.34 kB / 384.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005209/0.7926, allocations: 0.572 MB / 384.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.7934, allocations: 102.3 kB / 384.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009158/0.7943, allocations: 180.5 kB / 385.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.7945, allocations: 6.594 kB / 385.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.7975, allocations: 0.6147 MB / 385.7 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.7978, allocations: 55.36 kB / 385.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.7979, allocations: 5.719 kB / 385.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.8014, allocations: 0.8505 MB / 386.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.8016, allocations: 22.61 kB / 386.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.8018, allocations: 52.67 kB / 386.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.8033, allocations: 235.6 kB / 386.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.8033, allocations: 0 / 386.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.8033, allocations: 0 / 386.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.8033, allocations: 1.094 kB / 386.9 MB, free: 8.484 MB / 318.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.001135/0.8045, allocations: 414.5 kB / 387.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.636e-05/0.8046, allocations: 10.19 kB / 387.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.8054, allocations: 34.91 kB / 387.3 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.806, allocations: 201.4 kB / 387.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.806, allocations: 8.312 kB / 387.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.8061, allocations: 6.031 kB / 387.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.8067, allocations: 144.3 kB / 387.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.8067, allocations: 1.062 kB / 387.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.8068, allocations: 5.062 kB / 387.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.8068, allocations: 6.547 kB / 387.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.8073, allocations: 111.2 kB / 387.8 MB, free: 7.805 MB / 318.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.001377/0.8087, allocations: 0.6654 MB / 388.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.8089, allocations: 83.03 kB / 388.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.8091, allocations: 41.52 kB / 388.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008108/0.8099, allocations: 0.8129 MB / 389.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.8099, allocations: 31.72 kB / 389.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.81, allocations: 0 / 389.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005156/0.8105, allocations: 127.5 kB / 389.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.8105, allocations: 53.59 kB / 389.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.8107, allocations: 123.3 kB / 389.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.8108, allocations: 34.05 kB / 389.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.8109, allocations: 101.3 kB / 389.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.8109, allocations: 43.14 kB / 389.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.811, allocations: 35.8 kB / 389.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8112, allocations: 318 kB / 390.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.8113, allocations: 25.62 kB / 390.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.8115, allocations: 74.5 kB / 390.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.8117, allocations: 106.4 kB / 390.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.8117, allocations: 1.094 kB / 390.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004662/0.8122, allocations: 137.4 kB / 390.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.8123, allocations: 6.188 kB / 390.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8123, allocations: 1.906 kB / 390.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.8123, allocations: 2.281 kB / 390.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.8126, allocations: 38.14 kB / 390.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.8126, allocations: 2.031 kB / 390.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.8127, allocations: 16.53 kB / 390.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.8128, allocations: 7.938 kB / 390.7 MB, free: 5.273 MB / 318.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 0.0001388/0.8129, allocations: 123.2 kB / 390.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.813, allocations: 11.67 kB / 390.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.8136, allocations: 151.4 kB / 390.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.8136, allocations: 1.062 kB / 390.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.8136, allocations: 9.016 kB / 391 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.8136, allocations: 1.312 kB / 391 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.8144, allocations: 394.4 kB / 391.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.8145, allocations: 2.656 kB / 391.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.8146, allocations: 20.42 kB / 391.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.8146, allocations: 3.938 kB / 391.4 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.8147, allocations: 11.38 kB / 391.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.8147, allocations: 0 / 391.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.8147, allocations: 0.9688 kB / 391.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.815, allocations: 201.9 kB / 391.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.8152, allocations: 104 kB / 391.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.8152, allocations: 9.094 kB / 391.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.8154, allocations: 1.75 kB / 391.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.8155, allocations: 8.219 kB / 391.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.8155, allocations: 10.58 kB / 391.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.635e-05/0.8156, allocations: 89.41 kB / 391.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8156, allocations: 0 / 391.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000703/0.8163, allocations: 54.73 kB / 391.9 MB, free: 4.32 MB / 318.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.0006096/0.817, allocations: 166.8 kB / 392 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004278/0.8174, allocations: 82.34 kB / 392.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.8174, allocations: 1.469 kB / 392.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.8176, allocations: 40.75 kB / 392.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.8184, allocations: 43.25 kB / 392.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.8193, allocations: 255.4 kB / 392.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.8195, allocations: 0.6937 MB / 393.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.8197, allocations: 29.17 kB / 393.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8197, allocations: 0 / 393.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Templates: time 0.01005/0.8297, allocations: 2.19 MB / 395.3 MB, free: 3.004 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches