Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001095/0.001095, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3838, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1734/0.5572, allocations: 149.7 MB / 0.6651 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.5597, allocations: 2.188 MB / 0.6672 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.5599, allocations: 0 / 0.6672 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.5603, allocations: 59.66 kB / 0.6673 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.5619, allocations: 0.63 MB / 0.6679 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.5623, allocations: 99.73 kB / 0.668 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.5626, allocations: 259 kB / 0.6682 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.5626, allocations: 4 kB / 0.6682 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.5629, allocations: 143.1 kB / 0.6684 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.5631, allocations: 91.66 kB / 0.6685 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.5631, allocations: 12 kB / 0.6685 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.5646, allocations: 0.8534 MB / 0.6693 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.5647, allocations: 75.84 kB / 0.6694 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.5648, allocations: 107.5 kB / 0.6695 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.5657, allocations: 0.645 MB / 0.6701 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5657, allocations: 0 / 0.6701 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5657, allocations: 3.938 kB / 0.6701 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5657, allocations: 0 / 0.6701 GB, free: 0.6445 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007416/0.5665, allocations: 0.5032 MB / 0.6706 GB, free: 96 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5665, allocations: 8.031 kB / 0.6706 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.5685, allocations: 268.4 kB / 0.6709 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.569, allocations: 287.8 kB / 0.6711 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.569, allocations: 12.33 kB / 0.6712 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.5691, allocations: 23.94 kB / 0.6712 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007562/0.5698, allocations: 0.5006 MB / 0.6717 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5699, allocations: 0 / 0.6717 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.5699, allocations: 8 kB / 0.6717 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.57, allocations: 8 kB / 0.6717 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.5708, allocations: 0.5777 MB / 0.6722 GB, free: 14.37 MB / 0.5294 GB 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.002192/0.573, allocations: 1.019 MB / 0.6732 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.5734, allocations: 237 kB / 0.6735 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.5736, allocations: 185.6 kB / 0.6736 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009172/0.5746, allocations: 383.2 kB / 0.674 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.5746, allocations: 42.56 kB / 0.6741 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.5746, allocations: 0 / 0.6741 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001894/0.5765, allocations: 0.5991 MB / 0.6746 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.5766, allocations: 81.11 kB / 0.6747 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.5767, allocations: 125.8 kB / 0.6748 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.5768, allocations: 33.7 kB / 0.6749 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.5768, allocations: 116.3 kB / 0.675 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.944e-05/0.5769, allocations: 102.5 kB / 0.6751 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.5771, allocations: 73.59 kB / 0.6751 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5772, allocations: 326.8 kB / 0.6755 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.5775, allocations: 183.9 kB / 0.6756 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.5779, allocations: 289.5 kB / 0.6759 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/0.5786, allocations: 0.4911 MB / 0.6764 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5786, allocations: 0 / 0.6764 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008992/0.5795, allocations: 0.5152 MB / 0.6769 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5796, allocations: 8 kB / 0.6769 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5796, allocations: 0 / 0.6769 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5796, allocations: 8 kB / 0.6769 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.5801, allocations: 75.89 kB / 0.677 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.5801, allocations: 7.938 kB / 0.677 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.5805, allocations: 39.67 kB / 0.677 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.5806, allocations: 23.92 kB / 0.677 GB, free: 9.152 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0001778/0.5807, allocations: 149.8 kB / 0.6772 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5809, allocations: 19.81 kB / 0.6772 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/0.5818, allocations: 486.5 kB / 0.6777 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5818, allocations: 4 kB / 0.6777 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5818, allocations: 0 / 0.6777 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5818, allocations: 7.984 kB / 0.6777 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.5826, allocations: 461.8 kB / 0.6781 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5826, allocations: 0 / 0.6781 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.5831, allocations: 63.89 kB / 0.6782 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5831, allocations: 4 kB / 0.6782 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.5831, allocations: 11.98 kB / 0.6782 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5831, allocations: 4 kB / 0.6782 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5831, allocations: 0 / 0.6782 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.5842, allocations: 0.6917 MB / 0.6789 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.5843, allocations: 88.95 kB / 0.679 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.5843, allocations: 12 kB / 0.679 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.5848, allocations: 23.97 kB / 0.679 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.5848, allocations: 19.97 kB / 0.679 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.5849, allocations: 15.98 kB / 0.679 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.312e-05/0.585, allocations: 99.27 kB / 0.6791 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.585, allocations: 0 / 0.6791 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007204/0.5857, allocations: 163.8 kB / 0.6793 GB, free: 6.758 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.0007916/0.5865, allocations: 342.8 kB / 0.6796 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007914/0.5873, allocations: 446.2 kB / 0.68 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5873, allocations: 0 / 0.68 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.5877, allocations: 203.8 kB / 0.6802 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.5884, allocations: 97.95 kB / 0.6803 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.5897, allocations: 0.871 MB / 0.6812 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.59, allocations: 0.7442 MB / 0.6819 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004369/0.5905, allocations: 109.8 kB / 0.682 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.5906, allocations: 27.44 kB / 0.682 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of SimCode: time 6.82e-07/0.5906, allocations: 4 kB / 0.682 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.01306/0.6037, allocations: 8.101 MB / 0.6899 GB, free: 11.82 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches