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.001343/0.001343, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.001449/0.001449, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.635/1.635, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.231/0.231, allocations: 43.52 MB / 314.1 MB, free: 448 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.001543/0.001543, allocations: 65.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1483, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5421/0.6905, allocations: 151 MB / 0.6353 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.6935, allocations: 2.096 MB / 0.6374 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.6937, allocations: 4 kB / 0.6374 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.6942, allocations: 43.73 kB / 0.6374 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.6961, allocations: 0.6183 MB / 0.638 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.6964, allocations: 100.7 kB / 0.6381 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.6969, allocations: 263 kB / 0.6384 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.697, allocations: 7.984 kB / 0.6384 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.6974, allocations: 142.8 kB / 0.6385 GB, free: 444 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.6976, allocations: 91.66 kB / 0.6386 GB, free: 352 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.6976, allocations: 12 kB / 0.6386 GB, free: 340 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.6994, allocations: 0.83 MB / 0.6394 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.6995, allocations: 83.81 kB / 0.6395 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.6997, allocations: 95.58 kB / 0.6396 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.7009, allocations: 0.6395 MB / 0.6402 GB, free: 14.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.701, allocations: 0 / 0.6402 GB, free: 14.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.701, allocations: 4 kB / 0.6402 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.701, allocations: 0 / 0.6402 GB, free: 14.68 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.0009907/0.702, allocations: 0.5059 MB / 0.6407 GB, free: 14.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.702, allocations: 8.031 kB / 0.6407 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.704, allocations: 268.5 kB / 0.641 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.7045, allocations: 272.1 kB / 0.6412 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.7045, allocations: 12.89 kB / 0.6412 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/0.7046, allocations: 23.89 kB / 0.6413 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008576/0.7055, allocations: 0.5045 MB / 0.6418 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.7055, allocations: 0 / 0.6418 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.7056, allocations: 11.88 kB / 0.6418 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.7056, allocations: 11.94 kB / 0.6418 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/0.7065, allocations: 0.5822 MB / 0.6423 GB, free: 12.4 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.002436/0.709, allocations: 1.015 MB / 0.6433 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.7094, allocations: 241 kB / 0.6436 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.7097, allocations: 181.6 kB / 0.6437 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/0.7105, allocations: 282 kB / 0.644 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.7106, allocations: 38.91 kB / 0.644 GB, free: 10.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.7106, allocations: 0 / 0.644 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001981/0.7125, allocations: 0.5897 MB / 0.6446 GB, free: 9.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.7126, allocations: 89.09 kB / 0.6447 GB, free: 9.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.7128, allocations: 136.1 kB / 0.6448 GB, free: 9.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.7128, allocations: 29.7 kB / 0.6449 GB, free: 9.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.713, allocations: 116.5 kB / 0.645 GB, free: 9.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.7131, allocations: 115 kB / 0.6451 GB, free: 9.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.7132, allocations: 65.69 kB / 0.6451 GB, free: 9.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.7134, allocations: 326.8 kB / 0.6455 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.7138, allocations: 183.9 kB / 0.6456 GB, free: 8.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.7142, allocations: 280.8 kB / 0.6459 GB, free: 8.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007382/0.7149, allocations: 492 kB / 0.6464 GB, free: 8.008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.715, allocations: 0 / 0.6464 GB, free: 8.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001042/0.716, allocations: 0.5311 MB / 0.6469 GB, free: 7.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.7161, allocations: 8 kB / 0.6469 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.7161, allocations: 3.938 kB / 0.6469 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.7161, allocations: 8.406 kB / 0.6469 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.7166, allocations: 87.81 kB / 0.647 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.7167, allocations: 4 kB / 0.647 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.7171, allocations: 39.77 kB / 0.647 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.7171, allocations: 17.64 kB / 0.6471 GB, free: 7.309 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.0001949/0.7173, allocations: 145.7 kB / 0.6472 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.7175, allocations: 23.84 kB / 0.6472 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009632/0.7184, allocations: 494.5 kB / 0.6477 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.7184, allocations: 3.938 kB / 0.6477 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7185, allocations: 4 kB / 0.6477 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7185, allocations: 4 kB / 0.6477 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007798/0.7193, allocations: 458.2 kB / 0.6481 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.7193, allocations: 7.938 kB / 0.6481 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.7198, allocations: 59.89 kB / 0.6482 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7198, allocations: 4 kB / 0.6482 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.7198, allocations: 8 kB / 0.6482 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.7198, allocations: 0 / 0.6482 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7198, allocations: 4 kB / 0.6482 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.721, allocations: 0.6911 MB / 0.6489 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.721, allocations: 96.98 kB / 0.649 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.7211, allocations: 5.438 kB / 0.649 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.7216, allocations: 23.97 kB / 0.649 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.7216, allocations: 15.98 kB / 0.649 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.7217, allocations: 15.92 kB / 0.649 GB, free: 5.172 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.7218, allocations: 115.2 kB / 0.6491 GB, free: 5.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7218, allocations: 0 / 0.6491 GB, free: 5.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007903/0.7226, allocations: 155.6 kB / 0.6493 GB, free: 4.906 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.00103/0.7236, allocations: 335.4 kB / 0.6496 GB, free: 4.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008436/0.7245, allocations: 440.3 kB / 0.65 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7245, allocations: 0 / 0.65 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.7248, allocations: 223.5 kB / 0.6503 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.7256, allocations: 94.56 kB / 0.6503 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.7271, allocations: 0.8803 MB / 0.6512 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.7275, allocations: 0.7479 MB / 0.6519 GB, free: 2.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.728, allocations: 101.8 kB / 0.652 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.7282, allocations: 39.42 kB / 0.6521 GB, free: 2.016 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.7282, allocations: 0 / 0.6521 GB, free: 2.016 MB / 494.1 MB Notification: Performance of Templates: time 0.01507/0.7432, allocations: 8.088 MB / 0.66 GB, free: 9.938 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