Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_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.001252/0.001253, allocations: 109.2 kB / 16.41 MB, free: 6.48 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.001106/0.001106, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.239/0.239, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.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.001464/0.001464, allocations: 73.45 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1567, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5727/0.7294, allocations: 151 MB / 0.6353 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.7323, allocations: 2.083 MB / 0.6374 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.7325, allocations: 0 / 0.6374 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.7329, allocations: 57.84 kB / 0.6374 GB, free: 1.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.735, allocations: 0.6224 MB / 0.638 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.7354, allocations: 104.6 kB / 0.6381 GB, free: 0.875 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.7359, allocations: 255 kB / 0.6384 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.064e-05/0.7359, allocations: 11.98 kB / 0.6384 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.7363, allocations: 135.4 kB / 0.6385 GB, free: 492 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.7366, allocations: 95.66 kB / 0.6386 GB, free: 396 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.7366, allocations: 8 kB / 0.6386 GB, free: 388 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.7385, allocations: 0.8378 MB / 0.6394 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.7387, allocations: 71.84 kB / 0.6395 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.7388, allocations: 99.58 kB / 0.6396 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.7404, allocations: 0.6383 MB / 0.6402 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.7405, allocations: 3.984 kB / 0.6402 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7405, allocations: 0 / 0.6402 GB, free: 14.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.7405, allocations: 4 kB / 0.6402 GB, free: 14.73 MB / 494.1 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.001116/0.7416, allocations: 0.4953 MB / 0.6407 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7417, allocations: 8.031 kB / 0.6407 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.7438, allocations: 268.4 kB / 0.641 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.7443, allocations: 280 kB / 0.6412 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.7443, allocations: 8.891 kB / 0.6412 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.7444, allocations: 23.94 kB / 0.6413 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.7452, allocations: 0.5083 MB / 0.6418 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.7452, allocations: 0 / 0.6418 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.7453, allocations: 12.44 kB / 0.6418 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.7453, allocations: 8 kB / 0.6418 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008985/0.7462, allocations: 0.5899 MB / 0.6424 GB, free: 12.44 MB / 494.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.002279/0.7485, allocations: 1.008 MB / 0.6433 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.7489, allocations: 233.8 kB / 0.6436 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.7492, allocations: 189.6 kB / 0.6437 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007957/0.75, allocations: 274 kB / 0.644 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.7501, allocations: 46.48 kB / 0.644 GB, free: 10.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.993e-06/0.7501, allocations: 0 / 0.644 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001914/0.752, allocations: 0.5922 MB / 0.6446 GB, free: 9.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.7521, allocations: 81.11 kB / 0.6447 GB, free: 9.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.7522, allocations: 132.6 kB / 0.6448 GB, free: 9.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.7522, allocations: 29.7 kB / 0.6449 GB, free: 9.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.7524, allocations: 116.4 kB / 0.645 GB, free: 9.598 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.7525, allocations: 110.4 kB / 0.6451 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.7526, allocations: 65.7 kB / 0.6451 GB, free: 9.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7527, allocations: 326.8 kB / 0.6454 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.753, allocations: 183.9 kB / 0.6456 GB, free: 8.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.7534, allocations: 288.4 kB / 0.6459 GB, free: 8.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.7542, allocations: 498.9 kB / 0.6464 GB, free: 8.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7542, allocations: 0 / 0.6464 GB, free: 8.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009418/0.7552, allocations: 0.5201 MB / 0.6469 GB, free: 7.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7552, allocations: 8 kB / 0.6469 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7552, allocations: 3.984 kB / 0.6469 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.7552, allocations: 8 kB / 0.6469 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.7558, allocations: 80.3 kB / 0.647 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.7558, allocations: 15.92 kB / 0.647 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.7562, allocations: 39.61 kB / 0.647 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.7563, allocations: 20 kB / 0.647 GB, free: 7.359 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.7565, allocations: 141.8 kB / 0.6472 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7566, allocations: 19.84 kB / 0.6472 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009628/0.7576, allocations: 500 kB / 0.6477 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7576, allocations: 3.938 kB / 0.6477 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.7576, allocations: 7.984 kB / 0.6477 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7576, allocations: 0 / 0.6477 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007432/0.7584, allocations: 458.1 kB / 0.6481 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7584, allocations: 7.938 kB / 0.6481 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.7588, allocations: 55.91 kB / 0.6482 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.7589, allocations: 7.984 kB / 0.6482 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.7589, allocations: 8 kB / 0.6482 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7589, allocations: 0 / 0.6482 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7589, allocations: 4 kB / 0.6482 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.76, allocations: 0.6909 MB / 0.6489 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.7601, allocations: 100.8 kB / 0.649 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.7602, allocations: 4 kB / 0.649 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.7606, allocations: 19.98 kB / 0.649 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.7607, allocations: 16.78 kB / 0.649 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.7608, allocations: 15.98 kB / 0.649 GB, free: 5.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.427e-05/0.7608, allocations: 107.3 kB / 0.6491 GB, free: 5.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7608, allocations: 3.938 kB / 0.6491 GB, free: 5.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007732/0.7616, allocations: 151.9 kB / 0.6493 GB, free: 4.969 MB / 494.1 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 (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.0008181/0.7624, allocations: 339 kB / 0.6496 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008013/0.7633, allocations: 443.5 kB / 0.65 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.7633, allocations: 0.8125 kB / 0.65 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.7636, allocations: 215.8 kB / 0.6502 GB, free: 3.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/0.7644, allocations: 96.83 kB / 0.6503 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.7659, allocations: 0.8747 MB / 0.6512 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.7665, allocations: 0.744 MB / 0.6519 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004304/0.7669, allocations: 113.8 kB / 0.652 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.7671, allocations: 27.42 kB / 0.652 GB, free: 2.086 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.7671, allocations: 4 kB / 0.652 GB, free: 2.082 MB / 494.1 MB Notification: Performance of Templates: time 0.0139/0.781, allocations: 8.091 MB / 0.6599 GB, free: 10 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches