Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001494/0.001494, allocations: 123.1 kB / 18.46 MB, free: 4.578 MB / 14.72 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.001948/0.001948, allocations: 211.2 kB / 21.42 MB, free: 1.625 MB / 14.72 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.534/1.534, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2622/0.2622, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 71.89 kB / 0.4921 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1571, allocations: 65.99 MB / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5669/0.724, allocations: 153 MB / 0.7059 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.727, allocations: 2.196 MB / 0.7081 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.7271, allocations: 0 / 0.7081 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.7274, allocations: 59.72 kB / 0.7081 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.729, allocations: 0.6377 MB / 0.7088 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.7293, allocations: 99.8 kB / 0.7089 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.7297, allocations: 266.9 kB / 0.7091 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.7297, allocations: 5.875 kB / 0.7091 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.7301, allocations: 147.4 kB / 0.7093 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.7303, allocations: 95.64 kB / 0.7093 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.7303, allocations: 8 kB / 0.7094 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.7319, allocations: 0.8884 MB / 0.7102 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.732, allocations: 79.77 kB / 0.7103 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.7321, allocations: 95.64 kB / 0.7104 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.7331, allocations: 0.6666 MB / 0.711 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7331, allocations: 0 / 0.711 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7331, allocations: 0 / 0.711 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.7332, allocations: 0 / 0.711 GB, free: 3.004 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.0008858/0.734, allocations: 0.5141 MB / 0.7115 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.7341, allocations: 8.031 kB / 0.7116 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.7361, allocations: 272.5 kB / 0.7118 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.7366, allocations: 280.3 kB / 0.7121 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.7366, allocations: 16.27 kB / 0.7121 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/0.7367, allocations: 16 kB / 0.7121 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.7375, allocations: 0.4939 MB / 0.7126 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.7375, allocations: 3.938 kB / 0.7126 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.7376, allocations: 8 kB / 0.7126 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.7376, allocations: 10.94 kB / 0.7126 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.7387, allocations: 0.5817 MB / 0.7132 GB, free: 0.7188 MB / 0.5137 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.002337/0.741, allocations: 1.012 MB / 0.7142 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.7415, allocations: 241.9 kB / 0.7144 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.7418, allocations: 181.6 kB / 0.7146 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009728/0.7427, allocations: 387.2 kB / 0.7149 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.7428, allocations: 42.5 kB / 0.715 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.522e-06/0.7428, allocations: 0 / 0.715 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.00216/0.7449, allocations: 0.5893 MB / 0.7156 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.745, allocations: 89.05 kB / 0.7156 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.7452, allocations: 129.8 kB / 0.7158 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.7452, allocations: 29.7 kB / 0.7158 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.7453, allocations: 112.5 kB / 0.7159 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.7454, allocations: 119 kB / 0.716 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.7456, allocations: 61.48 kB / 0.7161 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.7458, allocations: 330.8 kB / 0.7164 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.7462, allocations: 186.5 kB / 0.7166 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.7467, allocations: 288.5 kB / 0.7168 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.7475, allocations: 493.3 kB / 0.7173 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.7475, allocations: 4 kB / 0.7173 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001105/0.7486, allocations: 0.5283 MB / 0.7178 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7486, allocations: 4 kB / 0.7178 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7487, allocations: 7.938 kB / 0.7178 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.7487, allocations: 4 kB / 0.7178 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.7492, allocations: 80.28 kB / 0.7179 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7492, allocations: 15.94 kB / 0.7179 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.7496, allocations: 39.77 kB / 0.718 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.7497, allocations: 12 kB / 0.718 GB, free: 11.5 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.0001998/0.7499, allocations: 155.8 kB / 0.7181 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.75, allocations: 15.91 kB / 0.7182 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.751, allocations: 491.2 kB / 0.7186 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.751, allocations: 4 kB / 0.7186 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7511, allocations: 0 / 0.7186 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.7511, allocations: 0 / 0.7186 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008982/0.752, allocations: 465.9 kB / 0.7191 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.752, allocations: 0 / 0.7191 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.7526, allocations: 60.95 kB / 0.7191 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.7526, allocations: 0 / 0.7191 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.7526, allocations: 12 kB / 0.7191 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.7526, allocations: 4 kB / 0.7191 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7526, allocations: 0 / 0.7191 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.7539, allocations: 0.6795 MB / 0.7198 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.754, allocations: 100.9 kB / 0.7199 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.754, allocations: 8 kB / 0.7199 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.7545, allocations: 27.84 kB / 0.7199 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.7546, allocations: 15.98 kB / 0.72 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.7546, allocations: 23.97 kB / 0.72 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.253e-05/0.7547, allocations: 101.5 kB / 0.7201 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7547, allocations: 4 kB / 0.7201 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008461/0.7556, allocations: 167.6 kB / 0.7202 GB, free: 9.113 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.00096/0.7565, allocations: 339.4 kB / 0.7206 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008903/0.7574, allocations: 420.3 kB / 0.721 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7574, allocations: 0 / 0.721 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.7578, allocations: 207.9 kB / 0.7212 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.7586, allocations: 92.08 kB / 0.7212 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.7603, allocations: 0.929 MB / 0.7222 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.7607, allocations: 0.7405 MB / 0.7229 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.761, allocations: 31.42 kB / 0.7229 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.761, allocations: 0 / 0.7229 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of Templates: time 0.01166/0.7726, allocations: 6.694 MB / 0.7294 GB, free: 15.62 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 9.470976870012237]