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.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.001368/0.001368, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001587/0.001587, allocations: 213.3 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 207.7 MB / 234.6 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.223/0.223, allocations: 44.27 MB / 331.1 MB, free: 9.398 MB / 270.1 MB " [Timeout remaining time 180] 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.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_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 70.72 kB / 468.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.13, allocations: 61.04 MB / 0.5169 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.424/0.554, allocations: 129.8 MB / 0.6437 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.5569, allocations: 1.86 MB / 0.6455 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.557, allocations: 3.938 kB / 0.6455 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.5574, allocations: 51.73 kB / 0.6455 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.5592, allocations: 0.6258 MB / 0.6461 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.5596, allocations: 110.5 kB / 0.6462 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.56, allocations: 267 kB / 0.6465 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.56, allocations: 7.984 kB / 0.6465 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.5605, allocations: 139.4 kB / 0.6466 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.5608, allocations: 99.64 kB / 0.6467 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.5608, allocations: 12 kB / 0.6467 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.5627, allocations: 0.7559 MB / 0.6475 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.5629, allocations: 79.81 kB / 0.6476 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.5631, allocations: 91.64 kB / 0.6476 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.5647, allocations: 0.6334 MB / 0.6483 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5647, allocations: 0 / 0.6483 GB, free: 12.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5647, allocations: 0 / 0.6483 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.5647, allocations: 4 kB / 0.6483 GB, free: 12.01 MB / 494.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.001151/0.5658, allocations: 437.4 kB / 0.6487 GB, free: 11.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5659, allocations: 12.03 kB / 0.6487 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.297e-05/0.5659, allocations: 4.516 kB / 0.6487 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.295e-05/0.566, allocations: 54.73 kB / 0.6488 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.5681, allocations: 272.5 kB / 0.649 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.5687, allocations: 214.5 kB / 0.6492 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.5687, allocations: 16.27 kB / 0.6492 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.5688, allocations: 19.95 kB / 0.6493 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.5699, allocations: 0.6512 MB / 0.6499 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.5699, allocations: 1.5 kB / 0.6499 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/0.57, allocations: 8 kB / 0.6499 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.57, allocations: 8 kB / 0.6499 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.571, allocations: 0.5938 MB / 0.6505 GB, free: 9.633 MB / 494.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.002505/0.5735, allocations: 0.9249 MB / 0.6514 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.574, allocations: 241 kB / 0.6516 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.5742, allocations: 189.6 kB / 0.6518 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.575, allocations: 119.9 kB / 0.6519 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.5751, allocations: 40.78 kB / 0.6519 GB, free: 8.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.5751, allocations: 0 / 0.6519 GB, free: 8.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002078/0.5771, allocations: 0.5912 MB / 0.6525 GB, free: 7.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.5772, allocations: 81.11 kB / 0.6526 GB, free: 7.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.5774, allocations: 130.5 kB / 0.6527 GB, free: 7.219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.5774, allocations: 37.7 kB / 0.6528 GB, free: 7.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.5775, allocations: 116.5 kB / 0.6529 GB, free: 7.059 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5776, allocations: 111.2 kB / 0.653 GB, free: 6.949 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.5778, allocations: 65.69 kB / 0.653 GB, free: 6.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.578, allocations: 326.8 kB / 0.6534 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.5783, allocations: 183.9 kB / 0.6535 GB, free: 6.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.5788, allocations: 284.7 kB / 0.6538 GB, free: 6.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008661/0.5797, allocations: 500 kB / 0.6543 GB, free: 5.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.5797, allocations: 8 kB / 0.6543 GB, free: 5.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001163/0.5808, allocations: 0.5166 MB / 0.6548 GB, free: 4.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5809, allocations: 4 kB / 0.6548 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5809, allocations: 4.406 kB / 0.6548 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.5809, allocations: 8 kB / 0.6548 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.5814, allocations: 79.89 kB / 0.6549 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.5814, allocations: 11.94 kB / 0.6549 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.5818, allocations: 35.77 kB / 0.6549 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.5819, allocations: 23.92 kB / 0.655 GB, free: 4.82 MB / 494.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.0002078/0.5821, allocations: 145.7 kB / 0.6551 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.5822, allocations: 15.91 kB / 0.6551 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.5833, allocations: 0.4901 MB / 0.6556 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5833, allocations: 4 kB / 0.6556 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5833, allocations: 0 / 0.6556 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5833, allocations: 11.98 kB / 0.6556 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/0.5841, allocations: 385.2 kB / 0.656 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5841, allocations: 4 kB / 0.656 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.5846, allocations: 59.89 kB / 0.656 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.5846, allocations: 4 kB / 0.656 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/0.5847, allocations: 8 kB / 0.656 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.5847, allocations: 4.859 kB / 0.656 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5847, allocations: 0 / 0.656 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.5862, allocations: 0.7019 MB / 0.6567 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.5863, allocations: 19.89 kB / 0.6567 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.5863, allocations: 8 kB / 0.6568 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.5868, allocations: 19.97 kB / 0.6568 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.5869, allocations: 15.97 kB / 0.6568 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.5869, allocations: 27.36 kB / 0.6568 GB, free: 2.844 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.587, allocations: 100.2 kB / 0.6569 GB, free: 2.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.587, allocations: 0 / 0.6569 GB, free: 2.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000823/0.5878, allocations: 159.6 kB / 0.6571 GB, free: 2.59 MB / 494.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.002625/0.5904, allocations: 1.468 MB / 0.6585 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000876/0.5913, allocations: 419.5 kB / 0.6589 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5913, allocations: 0 / 0.6589 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.5918, allocations: 211.8 kB / 0.6591 GB, free: 484 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.5926, allocations: 83.38 kB / 0.6592 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.5979, allocations: 3.25 MB / 0.6624 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.5981, allocations: 123.1 kB / 0.6625 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005314/0.5986, allocations: 113.8 kB / 0.6626 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.5989, allocations: 63.41 kB / 0.6626 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.5989, allocations: 0 / 0.6626 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04512/0.644, allocations: 11.16 MB / 0.6735 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.22, allocations: 64 / 0.6735 GB, free: 1.504 MB / 0.4981 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.396291584940627]