Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.001118/0.001118, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.411/1.411, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3152/0.3152, allocations: 43.5 MB / 313.5 MB, free: 8.32 MB / 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.001954/0.001955, allocations: 67.91 kB / 382.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1338, allocations: 57.78 MB / 439.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4573/0.5911, allocations: 178.2 MB / 0.6036 GB, free: 9.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.6039, allocations: 8.414 MB / 0.6118 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.6051, allocations: 27.75 kB / 0.6118 GB, free: 1.316 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.6064, allocations: 278.5 kB / 0.6121 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.6108, allocations: 1.328 MB / 0.6134 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.6142, allocations: 1.001 MB / 0.6144 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003523/0.6177, allocations: 2.71 MB / 0.617 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009774/0.6187, allocations: 400.7 kB / 0.6174 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.622, allocations: 1.116 MB / 0.6185 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.6236, allocations: 0.6929 MB / 0.6192 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.6239, allocations: 32 kB / 0.6192 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.6266, allocations: 0.6942 MB / 0.6199 GB, free: 9.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005463/0.6272, allocations: 243.2 kB / 0.6201 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009975/0.6282, allocations: 370.2 kB / 0.6205 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.6312, allocations: 1.395 MB / 0.6218 GB, free: 7.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6312, allocations: 0 / 0.6218 GB, free: 7.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.6312, allocations: 4 kB / 0.6218 GB, free: 7.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.266e-05/0.6313, allocations: 4 kB / 0.6218 GB, free: 7.082 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003118/0.6344, allocations: 1.127 MB / 0.6229 GB, free: 5.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6345, allocations: 12.03 kB / 0.623 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.6346, allocations: 105.1 kB / 0.6231 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/0.6354, allocations: 131.1 kB / 0.6232 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008332/0.6363, allocations: 0.508 MB / 0.6237 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.6364, allocations: 100.4 kB / 0.6238 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/0.6365, allocations: 47.98 kB / 0.6238 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.6377, allocations: 0.8175 MB / 0.6246 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.6378, allocations: 7.938 kB / 0.6246 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.6378, allocations: 20 kB / 0.6246 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/0.6379, allocations: 36.98 kB / 0.6247 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009981/0.6389, allocations: 0.6243 MB / 0.6253 GB, free: 3.367 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.2566/0.8956, allocations: 3.981 MB / 0.6292 GB, free: 157.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.8961, allocations: 351.4 kB / 0.6295 GB, free: 157.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.8964, allocations: 166.8 kB / 0.6297 GB, free: 157.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.8968, allocations: 363.8 kB / 0.63 GB, free: 156.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.8968, allocations: 36.34 kB / 0.6301 GB, free: 156.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.575e-06/0.8968, allocations: 0 / 0.6301 GB, free: 156.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005084/0.9019, allocations: 1.678 MB / 0.6317 GB, free: 156.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.902, allocations: 136.1 kB / 0.6318 GB, free: 156.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.9026, allocations: 0.6207 MB / 0.6324 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.9026, allocations: 32.08 kB / 0.6325 GB, free: 156.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.9028, allocations: 366.1 kB / 0.6328 GB, free: 155.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.9029, allocations: 143.6 kB / 0.6329 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.9031, allocations: 158.4 kB / 0.6331 GB, free: 155.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.9032, allocations: 374.4 kB / 0.6335 GB, free: 155.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.9035, allocations: 204.4 kB / 0.6336 GB, free: 155.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.9039, allocations: 0.514 MB / 0.6341 GB, free: 155.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.9047, allocations: 0.7432 MB / 0.6349 GB, free: 154.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9047, allocations: 2.875 kB / 0.6349 GB, free: 154.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001244/0.9059, allocations: 0.8836 MB / 0.6357 GB, free: 154.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.906, allocations: 9.5 kB / 0.6357 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.906, allocations: 10.12 kB / 0.6358 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.9073, allocations: 320.6 kB / 0.6361 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.9077, allocations: 123.8 kB / 0.6362 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009213/0.9086, allocations: 0.9326 MB / 0.6371 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.9092, allocations: 46.83 kB / 0.6371 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.9093, allocations: 64.67 kB / 0.6372 GB, free: 153.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000315/0.9096, allocations: 248.3 kB / 0.6374 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.9097, allocations: 80.09 kB / 0.6375 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.9111, allocations: 0.6737 MB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9111, allocations: 2.688 kB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9111, allocations: 2.781 kB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.9111, allocations: 3.469 kB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.9129, allocations: 1.611 MB / 0.6398 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.9129, allocations: 8.031 kB / 0.6398 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009546/0.9139, allocations: 208.9 kB / 0.64 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.13e-05/0.914, allocations: 21.33 kB / 0.64 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.914, allocations: 25.91 kB / 0.64 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.9154, allocations: 2.676 MB / 0.6426 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9154, allocations: 3.938 kB / 0.6426 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.9165, allocations: 0.8205 MB / 0.6434 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.9167, allocations: 189.5 kB / 0.6436 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/0.9168, allocations: 10.88 kB / 0.6436 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.9172, allocations: 33.98 kB / 0.6436 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.9173, allocations: 35.77 kB / 0.6437 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.9174, allocations: 42.8 kB / 0.6437 GB, free: 149 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004425/0.9178, allocations: 437.6 kB / 0.6441 GB, free: 148.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9178, allocations: 0 / 0.6441 GB, free: 148.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001098/0.919, allocations: 293.8 kB / 0.6444 GB, free: 148.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002024/0.921, allocations: 1.599 MB / 0.646 GB, free: 147.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.9221, allocations: 0.5493 MB / 0.6465 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9221, allocations: 0 / 0.6465 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.9229, allocations: 420.1 kB / 0.6469 GB, free: 147.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.9245, allocations: 350.8 kB / 0.6473 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.9317, allocations: 6.72 MB / 0.6538 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.9321, allocations: 0.932 MB / 0.6547 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001062/0.9331, allocations: 266.1 kB / 0.655 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.9336, allocations: 268.2 kB / 0.6552 GB, free: 142.3 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.9336, allocations: 0 / 0.6552 GB, free: 142.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07064/1.004, allocations: 24.42 MB / 0.6791 GB, free: 136 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/1.005, allocations: 309.1 kB / 0.6794 GB, free: 135.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.315, allocations: 2.516 kB / 0.6794 GB, free: 135.6 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches