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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 106.7 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2214/0.2214, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 61.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1226, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4667/0.5893, allocations: 151 MB / 0.6348 GB, free: 4.016 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.5921, allocations: 2.085 MB / 0.6369 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.5921, allocations: 4 kB / 0.6369 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.5925, allocations: 55.72 kB / 0.6369 GB, free: 1.883 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.594, allocations: 0.6105 MB / 0.6375 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.5943, allocations: 104.6 kB / 0.6376 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.5946, allocations: 263 kB / 0.6379 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.5947, allocations: 11.98 kB / 0.6379 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.5949, allocations: 138.8 kB / 0.638 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.5951, allocations: 91.64 kB / 0.6381 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.5952, allocations: 12 kB / 0.6381 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.5967, allocations: 0.8223 MB / 0.6389 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.5968, allocations: 83.7 kB / 0.639 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.5969, allocations: 95.59 kB / 0.6391 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009237/0.5979, allocations: 0.6464 MB / 0.6397 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5979, allocations: 0 / 0.6397 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5979, allocations: 0 / 0.6397 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.5979, allocations: 0 / 0.6397 GB, free: 15.02 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.0008113/0.5987, allocations: 0.4986 MB / 0.6402 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5988, allocations: 15.89 kB / 0.6402 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.5988, allocations: 50.73 kB / 0.6403 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.6007, allocations: 272.5 kB / 0.6405 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.6011, allocations: 280.1 kB / 0.6408 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.6011, allocations: 12.7 kB / 0.6408 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.6012, allocations: 23.89 kB / 0.6408 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.602, allocations: 0.5044 MB / 0.6413 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.602, allocations: 0 / 0.6413 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.6021, allocations: 7.938 kB / 0.6413 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.6021, allocations: 11.98 kB / 0.6413 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.603, allocations: 0.5783 MB / 0.6419 GB, free: 12.67 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.002207/0.6052, allocations: 1.015 MB / 0.6429 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.6056, allocations: 244.5 kB / 0.6431 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.6059, allocations: 185.6 kB / 0.6433 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/0.6067, allocations: 278.2 kB / 0.6436 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.6067, allocations: 43.41 kB / 0.6436 GB, free: 10.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.6067, allocations: 0 / 0.6436 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001941/0.6087, allocations: 0.5912 MB / 0.6442 GB, free: 10.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.6087, allocations: 85.11 kB / 0.6443 GB, free: 10.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.6089, allocations: 125.8 kB / 0.6444 GB, free: 9.969 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.6089, allocations: 29.7 kB / 0.6444 GB, free: 9.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.609, allocations: 120.5 kB / 0.6445 GB, free: 9.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/0.6091, allocations: 111.1 kB / 0.6446 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.6093, allocations: 61.69 kB / 0.6447 GB, free: 9.637 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6094, allocations: 338.8 kB / 0.645 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.6098, allocations: 179.9 kB / 0.6452 GB, free: 9.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.6102, allocations: 288.7 kB / 0.6455 GB, free: 8.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/0.6111, allocations: 500 kB / 0.646 GB, free: 8.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.6111, allocations: 3.625 kB / 0.646 GB, free: 8.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009725/0.6121, allocations: 0.5166 MB / 0.6465 GB, free: 7.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6121, allocations: 4.406 kB / 0.6465 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.6121, allocations: 8 kB / 0.6465 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.6121, allocations: 8 kB / 0.6465 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.6126, allocations: 79.89 kB / 0.6466 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.6127, allocations: 7.938 kB / 0.6466 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.6131, allocations: 35.77 kB / 0.6466 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.6131, allocations: 23.98 kB / 0.6466 GB, free: 7.574 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.00016/0.6133, allocations: 137.8 kB / 0.6468 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6134, allocations: 19.84 kB / 0.6468 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.6144, allocations: 0.4962 MB / 0.6473 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6144, allocations: 7.938 kB / 0.6473 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6144, allocations: 0 / 0.6473 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6145, allocations: 7.984 kB / 0.6473 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.6152, allocations: 462.1 kB / 0.6477 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6153, allocations: 0 / 0.6477 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.6157, allocations: 59.91 kB / 0.6478 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6158, allocations: 4 kB / 0.6478 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.6158, allocations: 11.98 kB / 0.6478 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6158, allocations: 0 / 0.6478 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6158, allocations: 4 kB / 0.6478 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.617, allocations: 0.6987 MB / 0.6485 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.6171, allocations: 89 kB / 0.6486 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.6172, allocations: 11.98 kB / 0.6486 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.6177, allocations: 19.98 kB / 0.6486 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.6177, allocations: 23.97 kB / 0.6486 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.6178, allocations: 19.61 kB / 0.6486 GB, free: 5.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.678e-05/0.6179, allocations: 99.27 kB / 0.6487 GB, free: 5.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6179, allocations: 0 / 0.6487 GB, free: 5.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006961/0.6186, allocations: 159.7 kB / 0.6489 GB, free: 5.168 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.00222/0.6208, allocations: 1.465 MB / 0.6503 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008566/0.6217, allocations: 447.2 kB / 0.6507 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6217, allocations: 0 / 0.6507 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.622, allocations: 208.6 kB / 0.6509 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.6228, allocations: 96.55 kB / 0.651 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.6273, allocations: 3.227 MB / 0.6542 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.6277, allocations: 0.7362 MB / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000486/0.6282, allocations: 117.8 kB / 0.655 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.6284, allocations: 59.41 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.442e-06/0.6284, allocations: 0 / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.6647, allocations: 10.38 MB / 0.6652 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.748, allocations: 5.031 kB / 0.6652 GB, free: 4.219 MB / 0.4981 GB (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 --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) 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) Reference file matches