Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.6 MB / 243.4 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007761/0.0007761, allocations: 94.89 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3158/0.3158, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 4 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3014, allocations: 62.96 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1428/0.4442, allocations: 135.8 MB / 0.6485 GB, free: 1.277 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.4465, allocations: 2.022 MB / 0.6505 GB, free: 15.25 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.4466, allocations: 0 / 0.6505 GB, free: 15.25 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.4469, allocations: 51.72 kB / 0.6505 GB, free: 15.2 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.4482, allocations: 0.5523 MB / 0.6511 GB, free: 14.65 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.4485, allocations: 95.8 kB / 0.6512 GB, free: 14.55 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.4488, allocations: 306.9 kB / 0.6515 GB, free: 14.25 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.4488, allocations: 11.98 kB / 0.6515 GB, free: 14.24 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.4491, allocations: 123.5 kB / 0.6516 GB, free: 14.12 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.4493, allocations: 103.7 kB / 0.6517 GB, free: 14.02 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.4493, allocations: 8 kB / 0.6517 GB, free: 14.01 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.4511, allocations: 1.298 MB / 0.653 GB, free: 12.71 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.192e-05/0.4513, allocations: 83.77 kB / 0.6531 GB, free: 12.63 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.4514, allocations: 121.3 kB / 0.6532 GB, free: 12.5 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.452, allocations: 0.5199 MB / 0.6537 GB, free: 11.98 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.452, allocations: 0 / 0.6537 GB, free: 11.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.452, allocations: 0 / 0.6537 GB, free: 11.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.4521, allocations: 0 / 0.6537 GB, free: 11.98 MB / 474.7 MB 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.000602/0.4527, allocations: 463.4 kB / 0.6541 GB, free: 11.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4527, allocations: 12.03 kB / 0.6541 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006225/0.4589, allocations: 0.7301 MB / 0.6548 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.4594, allocations: 283.8 kB / 0.6551 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4594, allocations: 8.328 kB / 0.6551 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4595, allocations: 19.91 kB / 0.6551 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4609, allocations: 0.6992 MB / 0.6558 GB, free: 9.691 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4609, allocations: 3.938 kB / 0.6558 GB, free: 9.688 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.461, allocations: 8 kB / 0.6558 GB, free: 9.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.461, allocations: 8 kB / 0.6558 GB, free: 9.672 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4629, allocations: 0.9209 MB / 0.6567 GB, free: 8.754 MB / 474.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.004403/0.4673, allocations: 1.997 MB / 0.6587 GB, free: 6.574 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.4684, allocations: 0.5009 MB / 0.6592 GB, free: 6.055 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.4691, allocations: 321.5 kB / 0.6595 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008018/0.4699, allocations: 375.2 kB / 0.6598 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4699, allocations: 38.55 kB / 0.6599 GB, free: 5.266 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.4699, allocations: 0 / 0.6599 GB, free: 5.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.002084/0.472, allocations: 0.8944 MB / 0.6608 GB, free: 4.367 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.4721, allocations: 85.05 kB / 0.6608 GB, free: 4.266 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4722, allocations: 132.5 kB / 0.661 GB, free: 4.129 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.4723, allocations: 33.7 kB / 0.661 GB, free: 4.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.4724, allocations: 116.6 kB / 0.6611 GB, free: 3.973 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.4725, allocations: 98.47 kB / 0.6612 GB, free: 3.875 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.4725, allocations: 15.88 kB / 0.6612 GB, free: 3.859 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4727, allocations: 330.8 kB / 0.6615 GB, free: 3.527 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.4733, allocations: 299.6 kB / 0.6618 GB, free: 3.234 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.474, allocations: 401.5 kB / 0.6622 GB, free: 2.797 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.4753, allocations: 0.6973 MB / 0.6629 GB, free: 2.055 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4753, allocations: 0 / 0.6629 GB, free: 2.055 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001565/0.4768, allocations: 0.7474 MB / 0.6636 GB, free: 1.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4769, allocations: 8 kB / 0.6636 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4769, allocations: 4 kB / 0.6636 GB, free: 1.289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4769, allocations: 4 kB / 0.6636 GB, free: 1.285 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009553/0.4779, allocations: 99.84 kB / 0.6637 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.4779, allocations: 12.06 kB / 0.6637 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.4787, allocations: 47.81 kB / 0.6638 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.4788, allocations: 23.98 kB / 0.6638 GB, free: 1.105 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.479, allocations: 161.6 kB / 0.664 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4791, allocations: 11.91 kB / 0.664 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.481, allocations: 0.782 MB / 0.6647 GB, free: 144 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.481, allocations: 4 kB / 0.6647 GB, free: 140 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.481, allocations: 0 / 0.6647 GB, free: 140 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.481, allocations: 0 / 0.6647 GB, free: 140 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4821, allocations: 0.7978 MB / 0.6655 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4821, allocations: 0 / 0.6655 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009088/0.483, allocations: 83.84 kB / 0.6656 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.483, allocations: 8 kB / 0.6656 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/0.4831, allocations: 11.98 kB / 0.6656 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4831, allocations: 7.938 kB / 0.6656 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4831, allocations: 0 / 0.6656 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.485, allocations: 0.9495 MB / 0.6665 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.4851, allocations: 100.8 kB / 0.6666 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/0.4851, allocations: 8 kB / 0.6667 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.486, allocations: 39.95 kB / 0.6667 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.486, allocations: 15.92 kB / 0.6667 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.4861, allocations: 23.97 kB / 0.6667 GB, free: 13.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.997e-05/0.4862, allocations: 95.27 kB / 0.6668 GB, free: 13.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4862, allocations: 0 / 0.6668 GB, free: 13.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006997/0.4869, allocations: 187.9 kB / 0.667 GB, free: 13.68 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008634/0.4878, allocations: 350.9 kB / 0.6673 GB, free: 13.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.4891, allocations: 0.6557 MB / 0.668 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4891, allocations: 0 / 0.668 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.4898, allocations: 328.5 kB / 0.6683 GB, free: 12.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.4905, allocations: 91.19 kB / 0.6684 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.4921, allocations: 1.17 MB / 0.6695 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.4924, allocations: 0.7445 MB / 0.6702 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.4929, allocations: 43.39 kB / 0.6703 GB, free: 10.24 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4929, allocations: 0 / 0.6703 GB, free: 10.24 MB / 490.7 MB Notification: Performance of Templates: time 0.01264/0.5056, allocations: 10.09 MB / 0.6801 GB, free: 84 kB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches