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.001246/0.001246, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001202/0.001202, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2241/0.2241, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3923, allocations: 60.82 MB / 0.5195 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1673/0.5597, allocations: 149.7 MB / 0.6657 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.5627, allocations: 2.184 MB / 0.6679 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.5628, allocations: 4 kB / 0.6679 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.5632, allocations: 55.7 kB / 0.6679 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.5651, allocations: 0.6299 MB / 0.6686 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.5655, allocations: 103.5 kB / 0.6686 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.5658, allocations: 259 kB / 0.6689 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.5659, allocations: 4 kB / 0.6689 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.5662, allocations: 139.1 kB / 0.669 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.5664, allocations: 95.64 kB / 0.6691 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.5665, allocations: 12 kB / 0.6691 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.5681, allocations: 0.8495 MB / 0.67 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.5683, allocations: 83.77 kB / 0.67 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.5684, allocations: 99.59 kB / 0.6701 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.5696, allocations: 0.6488 MB / 0.6708 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5697, allocations: 0 / 0.6708 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5697, allocations: 0 / 0.6708 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5697, allocations: 0 / 0.6708 GB, free: 0.6484 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.0007721/0.5705, allocations: 0.5032 MB / 0.6713 GB, free: 100 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5705, allocations: 8.031 kB / 0.6713 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.5725, allocations: 272.4 kB / 0.6715 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.573, allocations: 287.8 kB / 0.6718 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.573, allocations: 8.328 kB / 0.6718 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.5731, allocations: 20 kB / 0.6718 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007287/0.5738, allocations: 0.4889 MB / 0.6723 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5739, allocations: 4 kB / 0.6723 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.5739, allocations: 11.94 kB / 0.6723 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.574, allocations: 12 kB / 0.6723 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000901/0.5749, allocations: 0.5738 MB / 0.6729 GB, free: 14.38 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.002152/0.577, allocations: 1.015 MB / 0.6739 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.5774, allocations: 241 kB / 0.6741 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.5777, allocations: 185.6 kB / 0.6743 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009363/0.5786, allocations: 391.3 kB / 0.6747 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5787, allocations: 38.56 kB / 0.6747 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.5787, allocations: 3.938 kB / 0.6747 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001865/0.5805, allocations: 0.5935 MB / 0.6753 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.5806, allocations: 81.11 kB / 0.6754 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.5807, allocations: 125.8 kB / 0.6755 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.5808, allocations: 33.7 kB / 0.6755 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.5809, allocations: 120.2 kB / 0.6756 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.673e-05/0.581, allocations: 102.5 kB / 0.6757 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.5811, allocations: 73.59 kB / 0.6758 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5812, allocations: 326.8 kB / 0.6761 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.5815, allocations: 183.9 kB / 0.6763 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.5819, allocations: 289.6 kB / 0.6766 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.5826, allocations: 496.5 kB / 0.677 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5827, allocations: 0 / 0.677 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009393/0.5836, allocations: 0.5116 MB / 0.6775 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.5836, allocations: 12 kB / 0.6776 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5837, allocations: 4 kB / 0.6776 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5837, allocations: 4 kB / 0.6776 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.5842, allocations: 79.83 kB / 0.6776 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5842, allocations: 4.391 kB / 0.6776 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.5846, allocations: 43.67 kB / 0.6777 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.5847, allocations: 15.98 kB / 0.6777 GB, free: 9.164 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.0001744/0.5849, allocations: 153.6 kB / 0.6778 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.585, allocations: 19.81 kB / 0.6779 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/0.5859, allocations: 490.1 kB / 0.6783 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.5859, allocations: 4 kB / 0.6783 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5859, allocations: 0 / 0.6783 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5859, allocations: 3.984 kB / 0.6783 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/0.5867, allocations: 465.8 kB / 0.6788 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5867, allocations: 3.938 kB / 0.6788 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.5872, allocations: 55.95 kB / 0.6788 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5872, allocations: 7.938 kB / 0.6788 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.5872, allocations: 11.98 kB / 0.6789 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5872, allocations: 4 kB / 0.6789 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5872, allocations: 4 kB / 0.6789 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.5883, allocations: 0.68 MB / 0.6795 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.5884, allocations: 92.95 kB / 0.6796 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.5885, allocations: 15.98 kB / 0.6796 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.5889, allocations: 23.98 kB / 0.6797 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.589, allocations: 15.97 kB / 0.6797 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.589, allocations: 19.98 kB / 0.6797 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.504e-05/0.5891, allocations: 95.27 kB / 0.6798 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5891, allocations: 3.938 kB / 0.6798 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006734/0.5898, allocations: 163.8 kB / 0.6799 GB, free: 6.762 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.0008744/0.5907, allocations: 343.6 kB / 0.6803 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007795/0.5915, allocations: 442.5 kB / 0.6807 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5915, allocations: 0 / 0.6807 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.5918, allocations: 211.8 kB / 0.6809 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.5925, allocations: 100.4 kB / 0.681 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.5939, allocations: 0.9077 MB / 0.6819 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.5943, allocations: 0.7403 MB / 0.6826 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.5945, allocations: 35.42 kB / 0.6826 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.5945, allocations: 4 kB / 0.6826 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of Templates: time 0.009744/0.6042, allocations: 6.601 MB / 0.6891 GB, free: 13.34 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