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.001203/0.001203, allocations: 108.7 kB / 17.03 MB, free: 5.664 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.001113/0.001113, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.349/1.349, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.203/0.203, allocations: 43.52 MB / 314.7 MB, free: 484 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.001422/0.001422, allocations: 67.53 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.09004, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3595/0.4496, allocations: 151 MB / 0.579 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.4518, allocations: 2.088 MB / 0.5811 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.4519, allocations: 0 / 0.5811 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.4522, allocations: 54.28 kB / 0.5811 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.4537, allocations: 0.6158 MB / 0.5817 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.454, allocations: 108.3 kB / 0.5818 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.4543, allocations: 254.4 kB / 0.5821 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.4543, allocations: 7.5 kB / 0.5821 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.4546, allocations: 137.7 kB / 0.5822 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.4548, allocations: 87.84 kB / 0.5823 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.4548, allocations: 7.75 kB / 0.5823 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.4561, allocations: 0.8344 MB / 0.5831 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.4562, allocations: 80.08 kB / 0.5832 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.4564, allocations: 101 kB / 0.5833 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008297/0.4572, allocations: 0.6397 MB / 0.5839 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4572, allocations: 0 / 0.5839 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4572, allocations: 0 / 0.5839 GB, free: 11.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.4572, allocations: 0 / 0.5839 GB, free: 11.96 MB / 430.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.0007902/0.458, allocations: 0.4987 MB / 0.5844 GB, free: 11.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.4581, allocations: 14.03 kB / 0.5844 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.4599, allocations: 262.6 kB / 0.5847 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.4604, allocations: 281.2 kB / 0.5849 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4604, allocations: 15.73 kB / 0.5849 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.4605, allocations: 17.12 kB / 0.585 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.4612, allocations: 0.506 MB / 0.5855 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4612, allocations: 2.375 kB / 0.5855 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.4613, allocations: 5.969 kB / 0.5855 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.4613, allocations: 11.86 kB / 0.5855 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008016/0.4621, allocations: 0.5851 MB / 0.586 GB, free: 11.01 MB / 430.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.002231/0.4644, allocations: 1.003 MB / 0.587 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.4648, allocations: 251.6 kB / 0.5873 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.465, allocations: 180 kB / 0.5874 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007872/0.4658, allocations: 286.6 kB / 0.5877 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.4658, allocations: 40.59 kB / 0.5878 GB, free: 10.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.4658, allocations: 0 / 0.5878 GB, free: 10.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001718/0.4676, allocations: 0.5968 MB / 0.5883 GB, free: 9.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4676, allocations: 83.67 kB / 0.5884 GB, free: 9.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4678, allocations: 124.8 kB / 0.5885 GB, free: 9.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.4678, allocations: 35.42 kB / 0.5886 GB, free: 9.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.4679, allocations: 108.4 kB / 0.5887 GB, free: 9.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.468, allocations: 112.3 kB / 0.5888 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.4681, allocations: 73.22 kB / 0.5888 GB, free: 9.473 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4682, allocations: 321 kB / 0.5892 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.4685, allocations: 187 kB / 0.5893 GB, free: 9.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.4689, allocations: 289.7 kB / 0.5896 GB, free: 8.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/0.4696, allocations: 489 kB / 0.5901 GB, free: 8.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4696, allocations: 2.656 kB / 0.5901 GB, free: 8.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008265/0.4704, allocations: 0.5252 MB / 0.5906 GB, free: 8.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4705, allocations: 5.969 kB / 0.5906 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4705, allocations: 5.094 kB / 0.5906 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4705, allocations: 4.844 kB / 0.5906 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.471, allocations: 83.38 kB / 0.5907 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.471, allocations: 6.188 kB / 0.5907 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.4714, allocations: 36.27 kB / 0.5907 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.4714, allocations: 17.62 kB / 0.5907 GB, free: 8.637 MB / 430.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.000147/0.4716, allocations: 150.6 kB / 0.5909 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4717, allocations: 21.81 kB / 0.5909 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008639/0.4726, allocations: 496.4 kB / 0.5914 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4726, allocations: 4.531 kB / 0.5914 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4726, allocations: 0 / 0.5914 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4726, allocations: 0 / 0.5914 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.4733, allocations: 464.9 kB / 0.5918 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4733, allocations: 3.938 kB / 0.5918 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.4738, allocations: 62.14 kB / 0.5919 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4738, allocations: 2.812 kB / 0.5919 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.4738, allocations: 7.844 kB / 0.5919 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4739, allocations: 6.656 kB / 0.5919 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4739, allocations: 3.984 kB / 0.5919 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009397/0.4748, allocations: 0.6826 MB / 0.5926 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.4749, allocations: 97.59 kB / 0.5927 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.4749, allocations: 13.47 kB / 0.5927 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.4754, allocations: 22.72 kB / 0.5927 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4754, allocations: 17.95 kB / 0.5927 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.4755, allocations: 17.39 kB / 0.5927 GB, free: 7.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.771e-05/0.4755, allocations: 104.4 kB / 0.5928 GB, free: 7.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4755, allocations: 0 / 0.5928 GB, free: 7.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006803/0.4762, allocations: 152.7 kB / 0.593 GB, free: 7.508 MB / 430.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.0007309/0.477, allocations: 334 kB / 0.5933 GB, free: 7.328 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.4777, allocations: 452.2 kB / 0.5937 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4777, allocations: 0 / 0.5937 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.478, allocations: 210.8 kB / 0.5939 GB, free: 7.219 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.4786, allocations: 100.6 kB / 0.594 GB, free: 7.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.48, allocations: 0.8899 MB / 0.5949 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.4803, allocations: 0.7355 MB / 0.5956 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004262/0.4807, allocations: 114.1 kB / 0.5957 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.4808, allocations: 28.8 kB / 0.5958 GB, free: 5.758 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4809, allocations: 0 / 0.5958 GB, free: 5.758 MB / 430.1 MB Notification: Performance of Templates: time 0.01258/0.4934, allocations: 8.04 MB / 0.6036 GB, free: 1.727 MB / 430.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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