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.001746/0.001746, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002236/0.002236, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 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.2235/0.2235, allocations: 44.92 MB / 358.8 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3371, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1856/0.5227, allocations: 153.1 MB / 0.7065 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.5259, allocations: 2.204 MB / 0.7086 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.526, allocations: 4 kB / 0.7086 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.5264, allocations: 59.64 kB / 0.7087 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.5283, allocations: 0.6415 MB / 0.7093 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.5287, allocations: 111.7 kB / 0.7094 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.5292, allocations: 263 kB / 0.7097 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.5293, allocations: 8 kB / 0.7097 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.5297, allocations: 143.4 kB / 0.7098 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.53, allocations: 95.69 kB / 0.7099 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.53, allocations: 12 kB / 0.7099 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.5318, allocations: 0.9001 MB / 0.7108 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.532, allocations: 75.84 kB / 0.7109 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.5321, allocations: 103.5 kB / 0.711 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.5336, allocations: 0.6565 MB / 0.7116 GB, free: 8.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5336, allocations: 0 / 0.7116 GB, free: 8.848 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5336, allocations: 3.938 kB / 0.7116 GB, free: 8.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.5336, allocations: 0 / 0.7116 GB, free: 8.844 MB / 0.545 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.001085/0.5347, allocations: 445.5 kB / 0.7121 GB, free: 8.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.5347, allocations: 16.02 kB / 0.7121 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.217e-05/0.5348, allocations: 50.73 kB / 0.7121 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.5369, allocations: 276.5 kB / 0.7124 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.5374, allocations: 233.8 kB / 0.7126 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.5374, allocations: 8.328 kB / 0.7126 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.5375, allocations: 20 kB / 0.7126 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.5382, allocations: 0.4967 MB / 0.7131 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5383, allocations: 0 / 0.7131 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.5383, allocations: 4 kB / 0.7131 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.5383, allocations: 15.98 kB / 0.7131 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008965/0.5392, allocations: 0.5777 MB / 0.7137 GB, free: 6.648 MB / 0.545 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.002292/0.5415, allocations: 0.9872 MB / 0.7147 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.5419, allocations: 233.1 kB / 0.7149 GB, free: 5.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.5422, allocations: 181.6 kB / 0.7151 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008378/0.543, allocations: 152 kB / 0.7152 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.543, allocations: 38.56 kB / 0.7152 GB, free: 4.988 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.543, allocations: 0 / 0.7152 GB, free: 4.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001893/0.5449, allocations: 0.5993 MB / 0.7158 GB, free: 4.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.545, allocations: 81.11 kB / 0.7159 GB, free: 4.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.5451, allocations: 133.7 kB / 0.716 GB, free: 4.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.5452, allocations: 33.7 kB / 0.7161 GB, free: 4.105 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.5453, allocations: 120.5 kB / 0.7162 GB, free: 3.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.5454, allocations: 107.1 kB / 0.7163 GB, free: 3.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.5455, allocations: 77.47 kB / 0.7164 GB, free: 3.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5456, allocations: 326.8 kB / 0.7167 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.546, allocations: 183.9 kB / 0.7168 GB, free: 3.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.5464, allocations: 293.5 kB / 0.7171 GB, free: 2.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.5472, allocations: 497.2 kB / 0.7176 GB, free: 2.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5472, allocations: 0 / 0.7176 GB, free: 2.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009766/0.5482, allocations: 0.517 MB / 0.7181 GB, free: 1.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5482, allocations: 8 kB / 0.7181 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5482, allocations: 4 kB / 0.7181 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5482, allocations: 4 kB / 0.7181 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.5487, allocations: 79.89 kB / 0.7182 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.5487, allocations: 7.938 kB / 0.7182 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.5491, allocations: 39.7 kB / 0.7182 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.5492, allocations: 23.98 kB / 0.7183 GB, free: 1.742 MB / 0.545 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.0001774/0.5493, allocations: 149.7 kB / 0.7184 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.5494, allocations: 19.91 kB / 0.7184 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009753/0.5504, allocations: 0.4906 MB / 0.7189 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5504, allocations: 0 / 0.7189 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.5504, allocations: 8 kB / 0.7189 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5504, allocations: 3.984 kB / 0.7189 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/0.5512, allocations: 428.8 kB / 0.7193 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5512, allocations: 4 kB / 0.7193 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.5517, allocations: 59.89 kB / 0.7194 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5517, allocations: 4 kB / 0.7194 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.5517, allocations: 11.98 kB / 0.7194 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5517, allocations: 4 kB / 0.7194 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.5517, allocations: 4 kB / 0.7194 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.5528, allocations: 0.6839 MB / 0.7201 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.5529, allocations: 19.84 kB / 0.7201 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.5529, allocations: 4 kB / 0.7201 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.5534, allocations: 27.97 kB / 0.7201 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.5534, allocations: 19.97 kB / 0.7201 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.5535, allocations: 11.98 kB / 0.7201 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.5536, allocations: 103.2 kB / 0.7202 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5536, allocations: 0 / 0.7202 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006404/0.5542, allocations: 167.6 kB / 0.7204 GB, free: 15.46 MB / 0.5606 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.002158/0.5563, allocations: 1.47 MB / 0.7218 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007883/0.5571, allocations: 418.5 kB / 0.7222 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5571, allocations: 4.125 kB / 0.7222 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.5575, allocations: 211.8 kB / 0.7224 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.5582, allocations: 96.47 kB / 0.7225 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.5626, allocations: 3.226 MB / 0.7257 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.563, allocations: 0.7439 MB / 0.7264 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004562/0.5634, allocations: 109.8 kB / 0.7265 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.5636, allocations: 59.42 kB / 0.7266 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.5636, allocations: 0 / 0.7266 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2869/0.8505, allocations: 10.74 MB / 0.7371 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.97, allocations: 8.484 kB / 0.7371 GB, free: 178.5 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.970634751953185]