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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3916/0.3916, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.52e-05, allocations: 6.312 kB / 375.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3765/0.3765, allocations: 131.7 MB / 0.495 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3786, allocations: 1.967 MB / 0.4969 GB, free: 25.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.3787, allocations: 1.125 kB / 0.4969 GB, free: 25.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.379, allocations: 54.73 kB / 0.497 GB, free: 25.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.3806, allocations: 0.6633 MB / 0.4976 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.3809, allocations: 111.6 kB / 0.4978 GB, free: 25.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.3813, allocations: 261.4 kB / 0.498 GB, free: 25.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.3813, allocations: 5.312 kB / 0.498 GB, free: 25.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.3817, allocations: 180.3 kB / 0.4982 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.3819, allocations: 87.36 kB / 0.4983 GB, free: 25.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.3819, allocations: 8.344 kB / 0.4983 GB, free: 25.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.3835, allocations: 0.7704 MB / 0.499 GB, free: 25.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3836, allocations: 88.62 kB / 0.4991 GB, free: 25.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3837, allocations: 75.72 kB / 0.4992 GB, free: 25.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.3849, allocations: 0.7168 MB / 0.4999 GB, free: 24.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3849, allocations: 0 / 0.4999 GB, free: 24.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3849, allocations: 0 / 0.4999 GB, free: 24.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3849, allocations: 1.25 kB / 0.4999 GB, free: 24.82 MB / 410.7 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.0007751/0.3857, allocations: 450.2 kB / 0.5003 GB, free: 24.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3857, allocations: 8.344 kB / 0.5003 GB, free: 24.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.3879, allocations: 345.3 kB / 0.5006 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3882, allocations: 219.7 kB / 0.5009 GB, free: 24.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3883, allocations: 15.42 kB / 0.5009 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.3883, allocations: 24.48 kB / 0.5009 GB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008294/0.3892, allocations: 0.6506 MB / 0.5015 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3892, allocations: 0 / 0.5015 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.3892, allocations: 6.906 kB / 0.5015 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.3893, allocations: 8.75 kB / 0.5015 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008376/0.3901, allocations: 0.5723 MB / 0.5021 GB, free: 23.7 MB / 410.7 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.002101/0.3922, allocations: 0.9057 MB / 0.503 GB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.3926, allocations: 237.5 kB / 0.5032 GB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.3928, allocations: 176.2 kB / 0.5034 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000935/0.3937, allocations: 156.7 kB / 0.5035 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3938, allocations: 42.22 kB / 0.5036 GB, free: 22.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.3938, allocations: 1.469 kB / 0.5036 GB, free: 22.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.002028/0.3958, allocations: 0.6222 MB / 0.5042 GB, free: 22.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3958, allocations: 81.23 kB / 0.5043 GB, free: 22.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.396, allocations: 140.4 kB / 0.5044 GB, free: 22.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.396, allocations: 32.45 kB / 0.5044 GB, free: 22.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.3961, allocations: 112.6 kB / 0.5045 GB, free: 22.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3962, allocations: 113.7 kB / 0.5046 GB, free: 22.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3963, allocations: 66.34 kB / 0.5047 GB, free: 22.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.3964, allocations: 327.8 kB / 0.505 GB, free: 21.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.3968, allocations: 183 kB / 0.5052 GB, free: 21.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.3972, allocations: 300.5 kB / 0.5055 GB, free: 21.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.3979, allocations: 0.4901 MB / 0.506 GB, free: 21.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3979, allocations: 1.25 kB / 0.506 GB, free: 21.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009975/0.3989, allocations: 0.5339 MB / 0.5065 GB, free: 21.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3989, allocations: 8.141 kB / 0.5065 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.3989, allocations: 12.06 kB / 0.5065 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.399, allocations: 5.344 kB / 0.5065 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.3995, allocations: 81.59 kB / 0.5066 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.3995, allocations: 10.34 kB / 0.5066 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.3999, allocations: 37.19 kB / 0.5066 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.4, allocations: 19.67 kB / 0.5066 GB, free: 21.08 MB / 410.7 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.0001462/0.4001, allocations: 141 kB / 0.5068 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.4002, allocations: 35.48 kB / 0.5068 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009233/0.4012, allocations: 0.4937 MB / 0.5073 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4012, allocations: 2.531 kB / 0.5073 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4012, allocations: 4 kB / 0.5073 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4012, allocations: 2.953 kB / 0.5073 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006618/0.4018, allocations: 342.3 kB / 0.5076 GB, free: 20.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4019, allocations: 0 / 0.5076 GB, free: 20.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.4023, allocations: 62.45 kB / 0.5077 GB, free: 20.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4023, allocations: 2.156 kB / 0.5077 GB, free: 20.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.4024, allocations: 9.734 kB / 0.5077 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4024, allocations: 6.938 kB / 0.5077 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4024, allocations: 0 / 0.5077 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.4035, allocations: 0.7122 MB / 0.5084 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.4035, allocations: 17.69 kB / 0.5084 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.4036, allocations: 13.48 kB / 0.5084 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.4041, allocations: 18.86 kB / 0.5085 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.4041, allocations: 18.86 kB / 0.5085 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.4042, allocations: 19.05 kB / 0.5085 GB, free: 20.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.348e-05/0.4042, allocations: 96.98 kB / 0.5086 GB, free: 19.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4042, allocations: 2.25 kB / 0.5086 GB, free: 19.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001342/0.4056, allocations: 165.3 kB / 0.5087 GB, free: 19.91 MB / 410.7 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.0009909/0.4066, allocations: 350.2 kB / 0.5091 GB, free: 19.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.4073, allocations: 426.3 kB / 0.5095 GB, free: 19.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4073, allocations: 0 / 0.5095 GB, free: 19.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.4076, allocations: 209.7 kB / 0.5097 GB, free: 19.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.4083, allocations: 104.3 kB / 0.5098 GB, free: 19.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4093, allocations: 0.7088 MB / 0.5105 GB, free: 19.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.4094, allocations: 129.4 kB / 0.5106 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004425/0.4099, allocations: 120.4 kB / 0.5107 GB, free: 18.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.41, allocations: 31.06 kB / 0.5107 GB, free: 18.9 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.41, allocations: 0 / 0.5107 GB, free: 18.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01245/0.4225, allocations: 8.278 MB / 0.5188 GB, free: 17.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.619648983003572]