Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001296/0.001296, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001505/0.001505, allocations: 214.3 kB / 23.74 MB, free: 4.656 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2169/0.2169, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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.002009/0.002009, allocations: 69.77 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 65.48 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1877/0.4981, allocations: 153.8 MB / 0.7072 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009161/0.5073, allocations: 6.848 MB / 0.7139 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.5075, allocations: 0 / 0.7139 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.508, allocations: 95.47 kB / 0.714 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006101/0.5141, allocations: 2.27 MB / 0.7162 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.5145, allocations: 155.4 kB / 0.7164 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008273/0.5153, allocations: 0.5178 MB / 0.7169 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.273e-05/0.5154, allocations: 20.58 kB / 0.7169 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.5159, allocations: 259 kB / 0.7171 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.5168, allocations: 494.5 kB / 0.7176 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.5169, allocations: 12 kB / 0.7176 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005753/0.5227, allocations: 2.794 MB / 0.7204 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.5229, allocations: 167.5 kB / 0.7205 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.5232, allocations: 215 kB / 0.7207 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003756/0.527, allocations: 1.863 MB / 0.7225 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.527, allocations: 4 kB / 0.7225 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.527, allocations: 0 / 0.7225 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.527, allocations: 0 / 0.7225 GB, free: 13.64 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002663/0.5297, allocations: 0.9175 MB / 0.7234 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5297, allocations: 12.03 kB / 0.7234 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.5298, allocations: 82.7 kB / 0.7235 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.5334, allocations: 0.5 MB / 0.724 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.5342, allocations: 317.5 kB / 0.7243 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.5344, allocations: 230.3 kB / 0.7245 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5345, allocations: 35.98 kB / 0.7246 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.5362, allocations: 1.109 MB / 0.7257 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5362, allocations: 4 kB / 0.7257 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.5363, allocations: 12 kB / 0.7257 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/0.5363, allocations: 60.91 kB / 0.7257 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003277/0.5396, allocations: 2.272 MB / 0.7279 GB, free: 7.953 MB / 0.5606 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.003906/0.5435, allocations: 2.286 MB / 0.7302 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.5438, allocations: 98.52 kB / 0.7303 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5439, allocations: 53.08 kB / 0.7303 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003733/0.5476, allocations: 1.393 MB / 0.7317 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.5476, allocations: 34.56 kB / 0.7317 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.5477, allocations: 0 / 0.7317 GB, free: 3.938 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=16): time 0.001078/0.5487, allocations: 307.7 kB / 0.732 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.5488, allocations: 51.41 kB / 0.7321 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.5492, allocations: 384.1 kB / 0.7324 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.5492, allocations: 29.7 kB / 0.7325 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.5495, allocations: 378.7 kB / 0.7328 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.5495, allocations: 71.47 kB / 0.7329 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.5497, allocations: 162.5 kB / 0.733 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5499, allocations: 342.8 kB / 0.7334 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.5501, allocations: 125.9 kB / 0.7335 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.5507, allocations: 0.5725 MB / 0.734 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.5515, allocations: 0.7416 MB / 0.7348 GB, free: 324 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.5515, allocations: 8 kB / 0.7348 GB, free: 316 kB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.2557/0.8072, allocations: 0.7341 MB / 0.7355 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.8073, allocations: 12.22 kB / 0.7355 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.842e-05/0.8073, allocations: 15.62 kB / 0.7355 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.594e-05/0.8074, allocations: 25 kB / 0.7355 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.808, allocations: 189.7 kB / 0.7357 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003392/0.8084, allocations: 0.6178 MB / 0.7363 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.8089, allocations: 94.45 kB / 0.7364 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.809, allocations: 58.66 kB / 0.7365 GB, free: 176.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.8093, allocations: 213.5 kB / 0.7367 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.8096, allocations: 91.08 kB / 0.7368 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.81, allocations: 200.9 kB / 0.737 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.81, allocations: 1.562 kB / 0.737 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.81, allocations: 4.328 kB / 0.737 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.81, allocations: 1.812 kB / 0.737 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.8108, allocations: 0.5162 MB / 0.7375 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8108, allocations: 1.656 kB / 0.7375 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.8109, allocations: 28.83 kB / 0.7375 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.8109, allocations: 1.844 kB / 0.7375 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.8109, allocations: 7.062 kB / 0.7375 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002044/0.8111, allocations: 0.5894 MB / 0.7381 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8111, allocations: 6 kB / 0.7381 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.8114, allocations: 258.7 kB / 0.7383 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.8115, allocations: 38.39 kB / 0.7384 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.8115, allocations: 4.234 kB / 0.7384 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.8118, allocations: 16.42 kB / 0.7384 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.8118, allocations: 12.98 kB / 0.7384 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.8118, allocations: 9.281 kB / 0.7384 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002636/0.8121, allocations: 247.5 kB / 0.7386 GB, free: 175 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8121, allocations: 0 / 0.7386 GB, free: 175 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001487/0.8136, allocations: 360.8 kB / 0.739 GB, free: 174.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/0.8152, allocations: 1.321 MB / 0.7403 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006159/0.8158, allocations: 324.6 kB / 0.7406 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8158, allocations: 0 / 0.7406 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.8159, allocations: 53.06 kB / 0.7406 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.8164, allocations: 65.75 kB / 0.7407 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.8271, allocations: 10.22 MB / 0.7507 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.8273, allocations: 0.784 MB / 0.7515 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004917/0.8278, allocations: 243 kB / 0.7517 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.8279, allocations: 111.4 kB / 0.7518 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.8279, allocations: 0 / 0.7518 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/0.8682, allocations: 13.52 MB / 0.765 GB, free: 151 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.23, allocations: 3.984 kB / 0.765 GB, free: 151 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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: 17.23874216992408]