Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.000808/0.0008081, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0007437/0.0007437, allocations: 171.8 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 44.24 MB / 337.7 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 12 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4361/0.5547, allocations: 144 MB / 0.602 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008659/0.5634, allocations: 5.664 MB / 0.6075 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.5645, allocations: 27.75 kB / 0.6075 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.5656, allocations: 282.5 kB / 0.6078 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.5679, allocations: 0.8127 MB / 0.6086 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.5704, allocations: 0.9254 MB / 0.6095 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.5732, allocations: 2.671 MB / 0.6121 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.574, allocations: 407 kB / 0.6125 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.5754, allocations: 0.6537 MB / 0.6131 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.5766, allocations: 0.7396 MB / 0.6138 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.5767, allocations: 36 kB / 0.6139 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.5779, allocations: 0.5224 MB / 0.6144 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.5782, allocations: 239.3 kB / 0.6146 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.5786, allocations: 391.9 kB / 0.615 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.5797, allocations: 1.09 MB / 0.616 GB, free: 3.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5798, allocations: 0 / 0.616 GB, free: 3.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5798, allocations: 7.938 kB / 0.6161 GB, free: 3.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.5798, allocations: 0 / 0.6161 GB, free: 3.539 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001782/0.5816, allocations: 0.9155 MB / 0.6169 GB, free: 2.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5816, allocations: 11.97 kB / 0.617 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.5818, allocations: 98.69 kB / 0.6171 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.5821, allocations: 92.08 kB / 0.6171 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.5828, allocations: 0.517 MB / 0.6176 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.667e-05/0.5829, allocations: 100.9 kB / 0.6177 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.583, allocations: 52.36 kB / 0.6178 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5842, allocations: 0.8188 MB / 0.6186 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.5842, allocations: 0 / 0.6186 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.5843, allocations: 27.98 kB / 0.6186 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/0.5844, allocations: 40.92 kB / 0.6187 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.5854, allocations: 0.6518 MB / 0.6193 GB, free: 44 kB / 446.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.004241/0.5896, allocations: 3.956 MB / 0.6232 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/0.5904, allocations: 428.2 kB / 0.6236 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.5907, allocations: 208.8 kB / 0.6238 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006028/0.5913, allocations: 0.7288 MB / 0.6245 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.5914, allocations: 46.88 kB / 0.6245 GB, free: 10.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.5914, allocations: 0 / 0.6245 GB, free: 10.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003169/0.5946, allocations: 1.547 MB / 0.626 GB, free: 8.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.5947, allocations: 136.5 kB / 0.6262 GB, free: 8.438 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.5953, allocations: 0.5693 MB / 0.6267 GB, free: 7.859 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.5954, allocations: 33.7 kB / 0.6267 GB, free: 7.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.5956, allocations: 354.9 kB / 0.6271 GB, free: 7.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.5958, allocations: 165.7 kB / 0.6272 GB, free: 7.305 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.5959, allocations: 65.69 kB / 0.6273 GB, free: 7.234 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.596, allocations: 370.8 kB / 0.6277 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.5964, allocations: 213.9 kB / 0.6279 GB, free: 6.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.597, allocations: 0.524 MB / 0.6284 GB, free: 5.992 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/0.5979, allocations: 0.7523 MB / 0.6291 GB, free: 5.109 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5979, allocations: 7.938 kB / 0.6291 GB, free: 5.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001506/0.5995, allocations: 0.9101 MB / 0.63 GB, free: 4.184 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.5995, allocations: 15.94 kB / 0.63 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5995, allocations: 12.16 kB / 0.63 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.6009, allocations: 286.9 kB / 0.6303 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.6013, allocations: 127.8 kB / 0.6304 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.6024, allocations: 0.89 MB / 0.6313 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.6028, allocations: 47.88 kB / 0.6313 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.6029, allocations: 36 kB / 0.6314 GB, free: 2.754 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003446/0.6033, allocations: 254.1 kB / 0.6316 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.6034, allocations: 63.25 kB / 0.6317 GB, free: 2.434 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.6047, allocations: 0.768 MB / 0.6324 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.6047, allocations: 11.98 kB / 0.6324 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6047, allocations: 0 / 0.6324 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.6048, allocations: 3.938 kB / 0.6324 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.6071, allocations: 1.411 MB / 0.6338 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.6071, allocations: 7.938 kB / 0.6338 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.6082, allocations: 204 kB / 0.634 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-05/0.6083, allocations: 24.84 kB / 0.634 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.6084, allocations: 15.98 kB / 0.6341 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.6107, allocations: 2.684 MB / 0.6367 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6107, allocations: 4.031 kB / 0.6367 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.6121, allocations: 1.011 MB / 0.6377 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.6124, allocations: 208.2 kB / 0.6379 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.6125, allocations: 12 kB / 0.6379 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.613, allocations: 35.98 kB / 0.6379 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.6131, allocations: 31.95 kB / 0.638 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.6131, allocations: 27.98 kB / 0.638 GB, free: 11.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005453/0.6137, allocations: 435 kB / 0.6384 GB, free: 11.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6137, allocations: 0 / 0.6384 GB, free: 11.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008179/0.6145, allocations: 216 kB / 0.6386 GB, free: 10.88 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002117/0.6167, allocations: 1.712 MB / 0.6403 GB, free: 9.109 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.6179, allocations: 0.5952 MB / 0.6409 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6179, allocations: 0 / 0.6409 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6189, allocations: 463.5 kB / 0.6413 GB, free: 8.047 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.6208, allocations: 365.9 kB / 0.6416 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.6313, allocations: 6.982 MB / 0.6485 GB, free: 344 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007484/0.6321, allocations: 0.9465 MB / 0.6494 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009214/0.633, allocations: 212.2 kB / 0.6496 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.6335, allocations: 231.4 kB / 0.6498 GB, free: 14.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6335, allocations: 0 / 0.6498 GB, free: 14.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.6807, allocations: 21.33 MB / 0.6706 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.681, allocations: 293.7 kB / 0.6709 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.026, allocations: 0 / 0.6709 GB, free: 9.566 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches