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.001348/0.001348, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.001155/0.001155, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.3/1.3, 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.2103/0.2103, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3917, allocations: 60.82 MB / 0.5189 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1641/0.5558, allocations: 149.7 MB / 0.6651 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.5586, allocations: 2.188 MB / 0.6672 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.5587, allocations: 0 / 0.6672 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.5591, allocations: 63.66 kB / 0.6673 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.5607, allocations: 0.6183 MB / 0.6679 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.5611, allocations: 103.6 kB / 0.668 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.5615, allocations: 267 kB / 0.6682 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.5615, allocations: 8 kB / 0.6682 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.5618, allocations: 135.2 kB / 0.6684 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.562, allocations: 91.64 kB / 0.6685 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.562, allocations: 8 kB / 0.6685 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.5637, allocations: 0.8534 MB / 0.6693 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.5638, allocations: 87.81 kB / 0.6694 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.5639, allocations: 99.52 kB / 0.6695 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.565, allocations: 0.6514 MB / 0.6701 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.565, allocations: 0 / 0.6701 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5651, allocations: 0 / 0.6701 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5651, allocations: 4 kB / 0.6701 GB, free: 0.6367 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.0008249/0.5659, allocations: 0.5064 MB / 0.6706 GB, free: 84 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5659, allocations: 12.03 kB / 0.6706 GB, free: 72 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.5679, allocations: 276.5 kB / 0.6709 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.5683, allocations: 279.9 kB / 0.6712 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.5683, allocations: 8.328 kB / 0.6712 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.5684, allocations: 20 kB / 0.6712 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.5691, allocations: 0.4928 MB / 0.6717 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5691, allocations: 0 / 0.6717 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/0.5692, allocations: 15.92 kB / 0.6717 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.5692, allocations: 8 kB / 0.6717 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/0.5701, allocations: 0.5739 MB / 0.6723 GB, free: 14.36 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.002088/0.5722, allocations: 1.012 MB / 0.6732 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.5725, allocations: 245 kB / 0.6735 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.5728, allocations: 185.6 kB / 0.6737 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008866/0.5737, allocations: 379.2 kB / 0.674 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.5737, allocations: 38.56 kB / 0.674 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.5737, allocations: 3.938 kB / 0.6741 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001834/0.5756, allocations: 0.5899 MB / 0.6746 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.5756, allocations: 85.11 kB / 0.6747 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.5758, allocations: 137.7 kB / 0.6748 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.5758, allocations: 29.7 kB / 0.6749 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.5759, allocations: 108.6 kB / 0.675 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.78e-05/0.576, allocations: 123 kB / 0.6751 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.5761, allocations: 57.7 kB / 0.6751 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5762, allocations: 330.8 kB / 0.6755 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.5766, allocations: 183.9 kB / 0.6756 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.5769, allocations: 293.5 kB / 0.6759 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/0.5777, allocations: 492.8 kB / 0.6764 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5777, allocations: 4 kB / 0.6764 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009543/0.5786, allocations: 0.5263 MB / 0.6769 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5787, allocations: 8 kB / 0.6769 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5787, allocations: 7.938 kB / 0.6769 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5787, allocations: 4 kB / 0.6769 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.5792, allocations: 80.28 kB / 0.677 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.5792, allocations: 15.94 kB / 0.677 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.5796, allocations: 31.83 kB / 0.677 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.5796, allocations: 16 kB / 0.6771 GB, free: 9.137 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.0001466/0.5798, allocations: 153.6 kB / 0.6772 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.5799, allocations: 11.95 kB / 0.6772 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009189/0.5808, allocations: 490.1 kB / 0.6777 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.5808, allocations: 4 kB / 0.6777 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5809, allocations: 0 / 0.6777 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.5809, allocations: 4 kB / 0.6777 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.5816, allocations: 477.8 kB / 0.6781 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5816, allocations: 0 / 0.6781 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.5821, allocations: 59.89 kB / 0.6782 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5821, allocations: 0 / 0.6782 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.5821, allocations: 8 kB / 0.6782 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5821, allocations: 4 kB / 0.6782 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5821, allocations: 0 / 0.6782 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.5833, allocations: 0.688 MB / 0.6789 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.5834, allocations: 100.9 kB / 0.679 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.5835, allocations: 8 kB / 0.679 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.5839, allocations: 19.97 kB / 0.679 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.584, allocations: 16.06 kB / 0.679 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.5841, allocations: 19.98 kB / 0.679 GB, free: 7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.5841, allocations: 99.27 kB / 0.6791 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5841, allocations: 0 / 0.6791 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007764/0.5849, allocations: 163.7 kB / 0.6793 GB, free: 6.742 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.0009952/0.5859, allocations: 350.5 kB / 0.6796 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008157/0.5867, allocations: 443.4 kB / 0.6801 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5868, allocations: 192 / 0.6801 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.5871, allocations: 227.9 kB / 0.6803 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.5879, allocations: 88.77 kB / 0.6804 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.5892, allocations: 0.8624 MB / 0.6812 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.5895, allocations: 0.7403 MB / 0.6819 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004376/0.5899, allocations: 109.8 kB / 0.682 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.5901, allocations: 39.42 kB / 0.6821 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of SimCode: time 2.254e-06/0.5901, allocations: 0 / 0.6821 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of Templates: time 0.01274/0.6029, allocations: 8.025 MB / 0.6899 GB, free: 11.86 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