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.001322/0.001322, allocations: 106.1 kB / 16.4 MB, free: 6.512 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.001931/0.001932, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.397/1.397, 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.2138/0.2138, allocations: 43.54 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.002064/0.002065, allocations: 77.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1109, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4253/0.5363, allocations: 179.7 MB / 0.6629 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.5497, allocations: 8.172 MB / 0.6709 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009744/0.5507, allocations: 23.81 kB / 0.6709 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.5522, allocations: 318 kB / 0.6712 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.5578, allocations: 1.482 MB / 0.6727 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.5613, allocations: 1.151 MB / 0.6738 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002909/0.5642, allocations: 1.845 MB / 0.6756 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009789/0.5652, allocations: 457.3 kB / 0.676 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.5685, allocations: 1.223 MB / 0.6772 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.57, allocations: 0.6579 MB / 0.6779 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.5702, allocations: 71.92 kB / 0.6779 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.5724, allocations: 0.8322 MB / 0.6787 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004594/0.5729, allocations: 255.3 kB / 0.679 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007105/0.5736, allocations: 398.2 kB / 0.6794 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.576, allocations: 1.421 MB / 0.6808 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.576, allocations: 4 kB / 0.6808 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5761, allocations: 0 / 0.6808 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.744e-05/0.5761, allocations: 0 / 0.6808 GB, free: 4.727 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.002487/0.5786, allocations: 1.155 MB / 0.6819 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5786, allocations: 15.89 kB / 0.6819 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.5788, allocations: 107.1 kB / 0.682 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.5796, allocations: 135.5 kB / 0.6821 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009026/0.5805, allocations: 0.5357 MB / 0.6827 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.5806, allocations: 104.4 kB / 0.6828 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.5807, allocations: 44 kB / 0.6828 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.582, allocations: 0.8213 MB / 0.6836 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.5821, allocations: 4.859 kB / 0.6836 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.5821, allocations: 24 kB / 0.6836 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/0.5822, allocations: 36.98 kB / 0.6837 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.5833, allocations: 0.6282 MB / 0.6843 GB, free: 0.9375 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.004853/0.5882, allocations: 3.981 MB / 0.6882 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.5888, allocations: 359.2 kB / 0.6885 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.5891, allocations: 174.4 kB / 0.6887 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/0.5896, allocations: 365.4 kB / 0.689 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.5896, allocations: 42.77 kB / 0.6891 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.525e-06/0.5896, allocations: 0 / 0.6891 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005638/0.5953, allocations: 1.676 MB / 0.6907 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.5954, allocations: 136.5 kB / 0.6908 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.5962, allocations: 0.6172 MB / 0.6914 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.5962, allocations: 37.7 kB / 0.6915 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.5965, allocations: 375.9 kB / 0.6918 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.5967, allocations: 146.7 kB / 0.692 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.5969, allocations: 158.6 kB / 0.6921 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.5971, allocations: 374.8 kB / 0.6925 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.5975, allocations: 201.9 kB / 0.6927 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.5982, allocations: 0.5086 MB / 0.6932 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5993, allocations: 0.7601 MB / 0.6939 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5993, allocations: 7.938 kB / 0.6939 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001564/0.6008, allocations: 0.8761 MB / 0.6948 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6009, allocations: 8 kB / 0.6948 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.6009, allocations: 12 kB / 0.6948 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.6023, allocations: 313.4 kB / 0.6951 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.6027, allocations: 123.8 kB / 0.6952 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.6039, allocations: 0.927 MB / 0.6961 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.6044, allocations: 31.98 kB / 0.6961 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/0.6045, allocations: 63.98 kB / 0.6962 GB, free: 3.938 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.0004069/0.6049, allocations: 249.5 kB / 0.6964 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.6051, allocations: 75.61 kB / 0.6965 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.6066, allocations: 0.6899 MB / 0.6972 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.6066, allocations: 4 kB / 0.6972 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6067, allocations: 4 kB / 0.6972 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6067, allocations: 3.984 kB / 0.6972 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.6092, allocations: 1.607 MB / 0.6988 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6092, allocations: 4 kB / 0.6988 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6103, allocations: 203.9 kB / 0.699 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.6104, allocations: 28.83 kB / 0.699 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.6104, allocations: 20 kB / 0.699 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.613, allocations: 2.877 MB / 0.7018 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.613, allocations: 0 / 0.7018 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.6144, allocations: 0.813 MB / 0.7026 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.6147, allocations: 196.6 kB / 0.7028 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.6149, allocations: 8 kB / 0.7028 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.6153, allocations: 20.05 kB / 0.7028 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6154, allocations: 39.95 kB / 0.7029 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.6155, allocations: 47.92 kB / 0.7029 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006006/0.6161, allocations: 439 kB / 0.7033 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6161, allocations: 0 / 0.7033 GB, free: 12.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009974/0.6171, allocations: 295.6 kB / 0.7036 GB, free: 11.84 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.002659/0.6198, allocations: 1.614 MB / 0.7052 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.621, allocations: 0.5661 MB / 0.7057 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6211, allocations: 0 / 0.7057 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6221, allocations: 407.1 kB / 0.7061 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.6238, allocations: 377.6 kB / 0.7065 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009471/0.6333, allocations: 6.315 MB / 0.7127 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.634, allocations: 0.93 MB / 0.7136 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008828/0.6349, allocations: 258 kB / 0.7138 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.6354, allocations: 275.3 kB / 0.7141 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.6354, allocations: 0 / 0.7141 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06493/0.7003, allocations: 25.4 MB / 0.7389 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.96, allocations: 8.062 kB / 0.7389 GB, free: 7.219 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