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.001082/0.001082, allocations: 97.25 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001572, allocations: 184.3 kB / 16.92 MB, free: 6.934 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.865/1.865, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4513/0.4513, allocations: 43.58 MB / 315 MB, free: 9.039 MB / 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.0005952/0.0005954, allocations: 20 kB / 384.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1867, allocations: 58.86 MB / 443.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5116/0.6983, allocations: 146.8 MB / 0.5764 GB, free: 8.625 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.7016, allocations: 2.118 MB / 0.5785 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.7018, allocations: 0 / 0.5785 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.7023, allocations: 58.45 kB / 0.5786 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.7045, allocations: 0.5527 MB / 0.5791 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.7048, allocations: 92.81 kB / 0.5792 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.7054, allocations: 370.9 kB / 0.5796 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.995e-05/0.7055, allocations: 11.39 kB / 0.5796 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.7059, allocations: 127.5 kB / 0.5797 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.7063, allocations: 103.6 kB / 0.5798 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.7063, allocations: 4 kB / 0.5798 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.7087, allocations: 1.193 MB / 0.581 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.7088, allocations: 83.75 kB / 0.581 GB, free: 3.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.709, allocations: 125.3 kB / 0.5812 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.7103, allocations: 0.7403 MB / 0.5819 GB, free: 3.074 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7103, allocations: 3.281 kB / 0.5819 GB, free: 3.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.7103, allocations: 3.938 kB / 0.5819 GB, free: 3.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.7103, allocations: 0 / 0.5819 GB, free: 3.07 MB / 446.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.0007662/0.7111, allocations: 471 kB / 0.5823 GB, free: 2.566 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.7112, allocations: 8.031 kB / 0.5823 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/0.7182, allocations: 0.7279 MB / 0.583 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.7187, allocations: 276.1 kB / 0.5833 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.7188, allocations: 16.83 kB / 0.5833 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.7189, allocations: 23.84 kB / 0.5834 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.7203, allocations: 0.7151 MB / 0.5841 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.7204, allocations: 0 / 0.5841 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/0.7205, allocations: 4 kB / 0.5841 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.7205, allocations: 8 kB / 0.5841 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.7225, allocations: 0.9256 MB / 0.585 GB, free: 15.82 MB / 462.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.005107/0.7276, allocations: 1.98 MB / 0.5869 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.7288, allocations: 0.5026 MB / 0.5874 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.7295, allocations: 329.5 kB / 0.5877 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006919/0.7302, allocations: 270.2 kB / 0.588 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.7303, allocations: 38.56 kB / 0.588 GB, free: 12.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.7303, allocations: 4 kB / 0.588 GB, free: 12.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002391/0.7327, allocations: 0.8841 MB / 0.5889 GB, free: 11.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.7328, allocations: 85.11 kB / 0.5889 GB, free: 11.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.7329, allocations: 125.8 kB / 0.5891 GB, free: 11.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.733, allocations: 33.7 kB / 0.5891 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7331, allocations: 112.4 kB / 0.5892 GB, free: 11.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.7333, allocations: 110.4 kB / 0.5893 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.7334, allocations: 37.7 kB / 0.5893 GB, free: 11.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.7335, allocations: 326.8 kB / 0.5897 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.7342, allocations: 295.8 kB / 0.5899 GB, free: 10.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008796/0.7351, allocations: 404.6 kB / 0.5903 GB, free: 9.988 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.7368, allocations: 0.6953 MB / 0.591 GB, free: 9.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.7368, allocations: 5.312 kB / 0.591 GB, free: 9.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002039/0.7389, allocations: 0.7398 MB / 0.5917 GB, free: 8.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.7389, allocations: 8 kB / 0.5917 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.739, allocations: 5.219 kB / 0.5917 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.739, allocations: 8 kB / 0.5918 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.7401, allocations: 99.84 kB / 0.5918 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.7402, allocations: 11.94 kB / 0.5919 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009883/0.7412, allocations: 51.64 kB / 0.5919 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/0.7413, allocations: 23.98 kB / 0.5919 GB, free: 8.297 MB / 462.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.0003113/0.7416, allocations: 145.8 kB / 0.5921 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.7418, allocations: 15.84 kB / 0.5921 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.7439, allocations: 0.7822 MB / 0.5929 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.7439, allocations: 4 kB / 0.5929 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.744, allocations: 0 / 0.5929 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.744, allocations: 4.547 kB / 0.5929 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.7453, allocations: 0.8136 MB / 0.5937 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7453, allocations: 3.938 kB / 0.5937 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.7463, allocations: 80.42 kB / 0.5937 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.7463, allocations: 4 kB / 0.5937 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.7464, allocations: 11.98 kB / 0.5937 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.7464, allocations: 0 / 0.5937 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.57e-05/0.7464, allocations: 12.5 kB / 0.5938 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.7487, allocations: 0.963 MB / 0.5947 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.7488, allocations: 96.86 kB / 0.5948 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.7488, allocations: 8 kB / 0.5948 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000964/0.7498, allocations: 35.89 kB / 0.5948 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.7499, allocations: 16.91 kB / 0.5949 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.75, allocations: 23.98 kB / 0.5949 GB, free: 5.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.7501, allocations: 108 kB / 0.595 GB, free: 5.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7501, allocations: 0 / 0.595 GB, free: 5.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009158/0.751, allocations: 175.9 kB / 0.5951 GB, free: 4.871 MB / 462.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.0009582/0.752, allocations: 339.7 kB / 0.5955 GB, free: 4.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.7535, allocations: 0.6568 MB / 0.5961 GB, free: 3.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7536, allocations: 4 kB / 0.5961 GB, free: 3.875 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.7543, allocations: 323.8 kB / 0.5964 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/0.7551, allocations: 96.33 kB / 0.5965 GB, free: 3.465 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.7574, allocations: 1.147 MB / 0.5976 GB, free: 2.305 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.758, allocations: 0.7447 MB / 0.5984 GB, free: 1.535 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001793/0.7598, allocations: 171.7 kB / 0.5985 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.7601, allocations: 35.41 kB / 0.5986 GB, free: 1.328 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7601, allocations: 3.938 kB / 0.5986 GB, free: 1.324 MB / 462.1 MB Notification: Performance of Templates: time 0.02072/0.7809, allocations: 10.15 MB / 0.6085 GB, free: 7.16 MB / 478.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 -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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches