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.001495/0.001495, allocations: 104.9 kB / 16.41 MB, free: 6.484 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.001813/0.001813, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.342/1.342, 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.2103/0.2103, allocations: 43.52 MB / 314.1 MB, free: 460 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.00188/0.00188, allocations: 67.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4611/0.5706, allocations: 179.7 MB / 0.6629 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.5828, allocations: 8.177 MB / 0.6709 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009761/0.5838, allocations: 23.81 kB / 0.6709 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.5853, allocations: 318 kB / 0.6712 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.5904, allocations: 1.473 MB / 0.6727 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.5938, allocations: 1.158 MB / 0.6738 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002558/0.5964, allocations: 1.841 MB / 0.6756 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009372/0.5973, allocations: 461 kB / 0.676 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.6004, allocations: 1.246 MB / 0.6772 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.6017, allocations: 0.6501 MB / 0.6779 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.6019, allocations: 64 kB / 0.6779 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.6041, allocations: 0.8308 MB / 0.6787 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004578/0.6045, allocations: 259.3 kB / 0.679 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007479/0.6053, allocations: 398.2 kB / 0.6794 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.608, allocations: 1.422 MB / 0.6808 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6081, allocations: 3.984 kB / 0.6808 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6081, allocations: 0 / 0.6808 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.475e-05/0.6081, allocations: 0 / 0.6808 GB, free: 4.711 MB / 0.5137 GB 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.003056/0.6112, allocations: 1.134 MB / 0.6819 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.6112, allocations: 11.89 kB / 0.6819 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.6114, allocations: 94.52 kB / 0.682 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/0.6124, allocations: 132 kB / 0.6821 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.6134, allocations: 0.5469 MB / 0.6826 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.6136, allocations: 100.4 kB / 0.6827 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.6137, allocations: 47.98 kB / 0.6828 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.615, allocations: 0.8174 MB / 0.6836 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.615, allocations: 0 / 0.6836 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/0.6151, allocations: 24 kB / 0.6836 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/0.6152, allocations: 36.98 kB / 0.6836 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.6163, allocations: 0.6243 MB / 0.6842 GB, free: 0.9648 MB / 0.5137 GB 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.005096/0.6214, allocations: 3.982 MB / 0.6881 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.622, allocations: 359.1 kB / 0.6885 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.6223, allocations: 169.3 kB / 0.6886 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000474/0.6227, allocations: 365.4 kB / 0.689 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.6228, allocations: 42.78 kB / 0.689 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.6228, allocations: 3.938 kB / 0.689 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005802/0.6286, allocations: 1.669 MB / 0.6907 GB, free: 10 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.6288, allocations: 140.5 kB / 0.6908 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.6296, allocations: 0.6132 MB / 0.6914 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.6296, allocations: 37.7 kB / 0.6914 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.6299, allocations: 363 kB / 0.6918 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.6301, allocations: 145.9 kB / 0.6919 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.6303, allocations: 150.5 kB / 0.6921 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.6305, allocations: 378.8 kB / 0.6924 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.6309, allocations: 201.9 kB / 0.6926 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.6315, allocations: 0.5125 MB / 0.6931 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.6327, allocations: 0.7523 MB / 0.6938 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.6328, allocations: 4 kB / 0.6938 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001626/0.6344, allocations: 0.8759 MB / 0.6947 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6344, allocations: 8 kB / 0.6947 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.6344, allocations: 8 kB / 0.6947 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.6359, allocations: 313.3 kB / 0.695 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.6363, allocations: 119.8 kB / 0.6951 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.6375, allocations: 0.9347 MB / 0.696 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.6381, allocations: 31.98 kB / 0.6961 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.37e-05/0.6382, allocations: 60 kB / 0.6961 GB, free: 4 MB / 0.5294 GB 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.0004119/0.6386, allocations: 253.5 kB / 0.6964 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.6388, allocations: 67.25 kB / 0.6964 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.6402, allocations: 0.6822 MB / 0.6971 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.6402, allocations: 4 kB / 0.6971 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6402, allocations: 0 / 0.6971 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.6403, allocations: 7.984 kB / 0.6971 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.6426, allocations: 1.603 MB / 0.6987 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6426, allocations: 7.984 kB / 0.6987 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.6437, allocations: 211.9 kB / 0.6989 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.903e-05/0.6438, allocations: 20.84 kB / 0.6989 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.6438, allocations: 19.98 kB / 0.6989 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.6462, allocations: 2.881 MB / 0.7017 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6462, allocations: 0 / 0.7017 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6475, allocations: 0.8087 MB / 0.7025 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.6478, allocations: 196.2 kB / 0.7027 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6479, allocations: 8 kB / 0.7027 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.6483, allocations: 24.05 kB / 0.7027 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.6484, allocations: 35.91 kB / 0.7028 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.6485, allocations: 47.91 kB / 0.7028 GB, free: 12.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005577/0.6491, allocations: 435 kB / 0.7032 GB, free: 12.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6491, allocations: 0 / 0.7032 GB, free: 12.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001054/0.6502, allocations: 296 kB / 0.7035 GB, free: 11.91 MB / 0.545 GB 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.002449/0.6526, allocations: 1.61 MB / 0.7051 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.6538, allocations: 0.5626 MB / 0.7056 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6538, allocations: 0 / 0.7056 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6548, allocations: 406.4 kB / 0.706 GB, free: 9.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.6565, allocations: 382.2 kB / 0.7064 GB, free: 8.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.6658, allocations: 6.292 MB / 0.7125 GB, free: 2.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.6665, allocations: 0.93 MB / 0.7135 GB, free: 1.289 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008511/0.6673, allocations: 261.9 kB / 0.7137 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.6678, allocations: 275.3 kB / 0.714 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.6678, allocations: 0 / 0.714 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0579/0.7257, allocations: 25.7 MB / 0.7391 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.21, allocations: 12.02 kB / 0.7391 GB, free: 7.012 MB / 0.5762 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches