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.001477/0.001477, allocations: 111.7 kB / 18.45 MB, free: 4.617 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.001648/0.001648, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.37/1.37, allocations: 222.9 MB / 243.1 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.2137/0.2137, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3096, allocations: 60.82 MB / 0.5196 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1613/0.471, allocations: 149.7 MB / 0.6658 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.4735, allocations: 2.192 MB / 0.6679 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.4736, allocations: 0 / 0.6679 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.474, allocations: 55.66 kB / 0.6679 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.4756, allocations: 0.6261 MB / 0.6686 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.4759, allocations: 111.7 kB / 0.6687 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.4763, allocations: 263 kB / 0.6689 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.4763, allocations: 4 kB / 0.6689 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.4766, allocations: 139.2 kB / 0.6691 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4768, allocations: 91.66 kB / 0.6691 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.4768, allocations: 12 kB / 0.6692 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.4782, allocations: 0.8456 MB / 0.67 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.4783, allocations: 87.81 kB / 0.6701 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.4785, allocations: 107.5 kB / 0.6702 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009543/0.4794, allocations: 0.644 MB / 0.6708 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4794, allocations: 0 / 0.6708 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4794, allocations: 0 / 0.6708 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4795, allocations: 0 / 0.6708 GB, free: 0.7969 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.0007638/0.4802, allocations: 0.5104 MB / 0.6713 GB, free: 244 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4803, allocations: 8.031 kB / 0.6713 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.4824, allocations: 276.5 kB / 0.6716 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.4827, allocations: 283.8 kB / 0.6718 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4828, allocations: 12.33 kB / 0.6718 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.4829, allocations: 23.94 kB / 0.6719 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.4836, allocations: 496.7 kB / 0.6723 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4836, allocations: 0 / 0.6723 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-05/0.4837, allocations: 8 kB / 0.6724 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.4837, allocations: 19.92 kB / 0.6724 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.4845, allocations: 0.5739 MB / 0.6729 GB, free: 14.51 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.002102/0.4866, allocations: 1.004 MB / 0.6739 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.487, allocations: 249 kB / 0.6741 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.4873, allocations: 185.6 kB / 0.6743 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009262/0.4882, allocations: 383.2 kB / 0.6747 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4882, allocations: 42.56 kB / 0.6747 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 3.176e-06/0.4882, allocations: 0 / 0.6747 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002025/0.4903, allocations: 0.6014 MB / 0.6753 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4903, allocations: 81.11 kB / 0.6754 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4904, allocations: 133.7 kB / 0.6755 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.4905, allocations: 29.7 kB / 0.6756 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.4906, allocations: 116.7 kB / 0.6757 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.4907, allocations: 107.1 kB / 0.6758 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4908, allocations: 65.69 kB / 0.6758 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4909, allocations: 326.8 kB / 0.6761 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.4913, allocations: 183.9 kB / 0.6763 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.4917, allocations: 297.5 kB / 0.6766 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.4925, allocations: 496.5 kB / 0.6771 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4925, allocations: 7.938 kB / 0.6771 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009534/0.4934, allocations: 0.5146 MB / 0.6776 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4935, allocations: 7.984 kB / 0.6776 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4935, allocations: 4.406 kB / 0.6776 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4935, allocations: 12 kB / 0.6776 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.4941, allocations: 75.89 kB / 0.6777 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4941, allocations: 7.938 kB / 0.6777 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.4945, allocations: 35.83 kB / 0.6777 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.4946, allocations: 16 kB / 0.6777 GB, free: 9.293 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.0001628/0.4948, allocations: 149.6 kB / 0.6779 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.4949, allocations: 19.92 kB / 0.6779 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009321/0.4958, allocations: 490.5 kB / 0.6784 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.4958, allocations: 4 kB / 0.6784 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4958, allocations: 4 kB / 0.6784 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.4959, allocations: 92.95 kB / 0.6785 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.496, allocations: 11.98 kB / 0.6785 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.4965, allocations: 15.98 kB / 0.6785 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.4966, allocations: 19.91 kB / 0.6785 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001129/0.4977, allocations: 0.5339 MB / 0.679 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001109/0.4988, allocations: 0.7146 MB / 0.6797 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002995/0.4991, allocations: 151.9 kB / 0.6799 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.88e-05/0.4992, allocations: 107.2 kB / 0.68 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of Backend: time 6.21e-07/0.4992, allocations: 0 / 0.68 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.5013, allocations: 0.6342 MB / 0.6806 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001598/0.5029, allocations: 1.263 MB / 0.6818 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of Templates: time 0.0157/0.5186, allocations: 9.761 MB / 0.6914 GB, free: 11.24 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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