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.00124/0.00124, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001189/0.001189, allocations: 188 kB / 18.71 MB, free: 4.371 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.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2057/0.2057, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4189, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1855/0.6045, allocations: 149.7 MB / 0.6651 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.6075, allocations: 2.192 MB / 0.6672 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.6077, allocations: 4 kB / 0.6672 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.608, allocations: 59.66 kB / 0.6673 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.6098, allocations: 0.6183 MB / 0.6679 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.6102, allocations: 107.7 kB / 0.668 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.6106, allocations: 263 kB / 0.6682 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.6106, allocations: 7.984 kB / 0.6682 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.6109, allocations: 139.1 kB / 0.6684 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.6111, allocations: 91.64 kB / 0.6685 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.6112, allocations: 8 kB / 0.6685 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.6127, allocations: 0.8534 MB / 0.6693 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.6128, allocations: 79.83 kB / 0.6694 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.6129, allocations: 103.5 kB / 0.6695 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009577/0.6139, allocations: 0.6489 MB / 0.6701 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6139, allocations: 0 / 0.6701 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6139, allocations: 0 / 0.6701 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.6139, allocations: 0 / 0.6701 GB, free: 0.6328 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.0008301/0.6148, allocations: 0.4993 MB / 0.6706 GB, free: 88 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6148, allocations: 8.031 kB / 0.6706 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.6168, allocations: 272.4 kB / 0.6709 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.6172, allocations: 287.8 kB / 0.6711 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.6172, allocations: 12.33 kB / 0.6712 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.6173, allocations: 23.94 kB / 0.6712 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.6181, allocations: 0.4928 MB / 0.6717 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6181, allocations: 3.938 kB / 0.6717 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.6181, allocations: 11.98 kB / 0.6717 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.6182, allocations: 8 kB / 0.6717 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.619, allocations: 0.5739 MB / 0.6722 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.00205/0.621, allocations: 1.015 MB / 0.6732 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.6214, allocations: 245 kB / 0.6735 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.6216, allocations: 189.6 kB / 0.6736 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009419/0.6226, allocations: 379.1 kB / 0.674 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.6226, allocations: 46.48 kB / 0.6741 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.6226, allocations: 0 / 0.6741 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001773/0.6244, allocations: 0.5899 MB / 0.6746 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.6245, allocations: 85.11 kB / 0.6747 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.6246, allocations: 129.8 kB / 0.6748 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.6246, allocations: 33.7 kB / 0.6749 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.6247, allocations: 116.3 kB / 0.675 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.6248, allocations: 106.5 kB / 0.6751 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.6249, allocations: 65.61 kB / 0.6751 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6251, allocations: 330.8 kB / 0.6755 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.6254, allocations: 183.9 kB / 0.6756 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.6258, allocations: 293.5 kB / 0.6759 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.6265, allocations: 488.5 kB / 0.6764 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6265, allocations: 0 / 0.6764 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008707/0.6274, allocations: 0.5185 MB / 0.6769 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6274, allocations: 8 kB / 0.6769 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6275, allocations: 4 kB / 0.6769 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.6275, allocations: 4 kB / 0.6769 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.628, allocations: 76.3 kB / 0.677 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.628, allocations: 15.92 kB / 0.677 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.6283, allocations: 39.67 kB / 0.677 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.6284, allocations: 16 kB / 0.677 GB, free: 9.141 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.0001632/0.6286, allocations: 149.7 kB / 0.6772 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.6287, allocations: 15.81 kB / 0.6772 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000884/0.6295, allocations: 490.4 kB / 0.6777 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6296, allocations: 4 kB / 0.6777 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6296, allocations: 0 / 0.6777 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6296, allocations: 3.984 kB / 0.6777 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.6303, allocations: 473.7 kB / 0.6781 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6303, allocations: 4 kB / 0.6781 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.6308, allocations: 51.91 kB / 0.6782 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6308, allocations: 7.984 kB / 0.6782 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.6308, allocations: 8 kB / 0.6782 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6308, allocations: 0 / 0.6782 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6308, allocations: 4 kB / 0.6782 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.6319, allocations: 0.6956 MB / 0.6789 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.632, allocations: 96.94 kB / 0.679 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.632, allocations: 4 kB / 0.679 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.6325, allocations: 19.98 kB / 0.679 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.6325, allocations: 19.97 kB / 0.679 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.6326, allocations: 19.97 kB / 0.679 GB, free: 7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.6326, allocations: 99.27 kB / 0.6791 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6326, allocations: 4 kB / 0.6791 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007317/0.6334, allocations: 163.8 kB / 0.6793 GB, free: 6.738 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.000886/0.6343, allocations: 338.8 kB / 0.6796 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007507/0.635, allocations: 435.3 kB / 0.68 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.635, allocations: 0 / 0.68 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.6354, allocations: 223.9 kB / 0.6802 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.6361, allocations: 88.39 kB / 0.6803 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.6376, allocations: 0.8748 MB / 0.6812 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.6381, allocations: 0.7403 MB / 0.6819 GB, free: 4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004253/0.6385, allocations: 105.8 kB / 0.682 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.6387, allocations: 39.42 kB / 0.682 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.6387, allocations: 0 / 0.682 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of Templates: time 0.01434/0.653, allocations: 8.097 MB / 0.6899 GB, free: 11.8 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