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.001363/0.001363, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001541/0.001541, allocations: 212.2 kB / 22.98 MB, free: 4.977 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.55/1.55, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2606/0.2606, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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="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"}) [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.00238/0.00238, allocations: 68.28 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1264, allocations: 61.05 MB / 0.5161 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3875/0.5138, allocations: 129.9 MB / 0.643 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.5164, allocations: 1.87 MB / 0.6448 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.5165, allocations: 3.938 kB / 0.6448 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.5169, allocations: 51.73 kB / 0.6448 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.5183, allocations: 0.6219 MB / 0.6454 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.5186, allocations: 107.7 kB / 0.6456 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.5189, allocations: 263 kB / 0.6458 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.519, allocations: 14.03 kB / 0.6458 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.5192, allocations: 143.4 kB / 0.646 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.5194, allocations: 95.64 kB / 0.646 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.5195, allocations: 8 kB / 0.6461 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.5208, allocations: 0.7441 MB / 0.6468 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.5209, allocations: 83.77 kB / 0.6469 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.521, allocations: 83.66 kB / 0.6469 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008873/0.5219, allocations: 0.6343 MB / 0.6476 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5219, allocations: 7.938 kB / 0.6476 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5219, allocations: 0 / 0.6476 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.5219, allocations: 0 / 0.6476 GB, free: 11.93 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.0007255/0.5227, allocations: 437.5 kB / 0.648 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5227, allocations: 12.02 kB / 0.648 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/0.5228, allocations: 54.73 kB / 0.648 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.5246, allocations: 266.4 kB / 0.6483 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.5251, allocations: 218.3 kB / 0.6485 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5251, allocations: 12.7 kB / 0.6485 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.5252, allocations: 23.89 kB / 0.6485 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.5261, allocations: 0.6551 MB / 0.6492 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5261, allocations: 0 / 0.6492 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.5261, allocations: 8 kB / 0.6492 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.5261, allocations: 8 kB / 0.6492 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009061/0.527, allocations: 0.5861 MB / 0.6498 GB, free: 9.562 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.002267/0.5293, allocations: 0.9327 MB / 0.6507 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.5297, allocations: 233.1 kB / 0.6509 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.53, allocations: 190.6 kB / 0.6511 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007141/0.5307, allocations: 124 kB / 0.6512 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.5307, allocations: 38.91 kB / 0.6512 GB, free: 7.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.5307, allocations: 0 / 0.6512 GB, free: 7.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002008/0.5327, allocations: 0.5893 MB / 0.6518 GB, free: 7.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.5328, allocations: 85.11 kB / 0.6519 GB, free: 7.281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.5329, allocations: 134.9 kB / 0.652 GB, free: 7.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.533, allocations: 37.7 kB / 0.6521 GB, free: 7.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.5331, allocations: 112.5 kB / 0.6522 GB, free: 6.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5332, allocations: 111.2 kB / 0.6523 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.5333, allocations: 65.69 kB / 0.6523 GB, free: 6.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5334, allocations: 326.8 kB / 0.6527 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.5338, allocations: 183.9 kB / 0.6528 GB, free: 6.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.5342, allocations: 284.7 kB / 0.6531 GB, free: 5.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008026/0.535, allocations: 500 kB / 0.6536 GB, free: 5.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.535, allocations: 11.94 kB / 0.6536 GB, free: 5.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009874/0.536, allocations: 0.5127 MB / 0.6541 GB, free: 4.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.536, allocations: 4 kB / 0.6541 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.536, allocations: 4.406 kB / 0.6541 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.5361, allocations: 11.62 kB / 0.6541 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.5366, allocations: 83.89 kB / 0.6542 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.5366, allocations: 8.484 kB / 0.6542 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.537, allocations: 35.77 kB / 0.6542 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.5371, allocations: 19.98 kB / 0.6542 GB, free: 4.75 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.0001633/0.5372, allocations: 145.7 kB / 0.6544 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.5373, allocations: 19.84 kB / 0.6544 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009756/0.5383, allocations: 0.4922 MB / 0.6549 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5383, allocations: 4 kB / 0.6549 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5383, allocations: 0 / 0.6549 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5383, allocations: 8 kB / 0.6549 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007157/0.539, allocations: 393.1 kB / 0.6553 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.539, allocations: 4 kB / 0.6553 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.5396, allocations: 59.89 kB / 0.6553 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5396, allocations: 4 kB / 0.6553 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.5396, allocations: 8 kB / 0.6553 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5396, allocations: 0 / 0.6553 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5396, allocations: 4 kB / 0.6553 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.5408, allocations: 0.698 MB / 0.656 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.5408, allocations: 23.83 kB / 0.6561 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.5409, allocations: 8 kB / 0.6561 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.5413, allocations: 19.92 kB / 0.6561 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.5414, allocations: 19.95 kB / 0.6561 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.5414, allocations: 19.98 kB / 0.6561 GB, free: 2.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.5415, allocations: 100.8 kB / 0.6562 GB, free: 2.664 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5415, allocations: 0 / 0.6562 GB, free: 2.664 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006436/0.5421, allocations: 151.7 kB / 0.6564 GB, free: 2.516 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.002154/0.5443, allocations: 1.469 MB / 0.6578 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008168/0.5451, allocations: 411.6 kB / 0.6582 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5451, allocations: 0 / 0.6582 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.5455, allocations: 215.8 kB / 0.6584 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.5462, allocations: 88.81 kB / 0.6585 GB, free: 324 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.5507, allocations: 3.245 MB / 0.6616 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.5509, allocations: 127.1 kB / 0.6618 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004731/0.5513, allocations: 109.8 kB / 0.6619 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.5515, allocations: 59.41 kB / 0.6619 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.5515, allocations: 0 / 0.6619 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04282/0.5944, allocations: 11.41 MB / 0.6731 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.16, allocations: 7.219 kB / 0.6731 GB, free: 1.184 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.40929120965302]