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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 114.5 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.001173/0.001173, allocations: 187.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.586/1.586, 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.2212/0.2212, allocations: 43.53 MB / 314.1 MB, free: 468 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.001507/0.001507, allocations: 67.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.168, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6488/0.8168, allocations: 179.7 MB / 0.6634 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.828, allocations: 8.178 MB / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.8289, allocations: 15.88 kB / 0.6714 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.8302, allocations: 318 kB / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.8349, allocations: 1.5 MB / 0.6732 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.8383, allocations: 1.15 MB / 0.6743 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.8406, allocations: 1.853 MB / 0.6761 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006299/0.8412, allocations: 463.3 kB / 0.6765 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.844, allocations: 1.249 MB / 0.6778 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.845, allocations: 0.6695 MB / 0.6784 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.8451, allocations: 60 kB / 0.6785 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.8472, allocations: 0.823 MB / 0.6793 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.8475, allocations: 267.3 kB / 0.6795 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.848, allocations: 394.2 kB / 0.6799 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.8501, allocations: 1.418 MB / 0.6813 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8501, allocations: 0 / 0.6813 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8502, allocations: 0 / 0.6813 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.8502, allocations: 0 / 0.6813 GB, free: 4.418 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.002302/0.8525, allocations: 1.126 MB / 0.6824 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.8525, allocations: 12.03 kB / 0.6824 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008166/0.8534, allocations: 139 kB / 0.6825 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000777/0.8541, allocations: 0.543 MB / 0.6831 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.8543, allocations: 96.41 kB / 0.6832 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.8544, allocations: 55.98 kB / 0.6832 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.8556, allocations: 0.8097 MB / 0.684 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.8556, allocations: 4 kB / 0.684 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.8557, allocations: 23.94 kB / 0.684 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.8557, allocations: 36.98 kB / 0.6841 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009961/0.8567, allocations: 0.6166 MB / 0.6847 GB, free: 0.7852 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.004505/0.8613, allocations: 3.984 MB / 0.6886 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.862, allocations: 359.1 kB / 0.6889 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.8623, allocations: 177.3 kB / 0.6891 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/0.8628, allocations: 365.4 kB / 0.6894 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.8628, allocations: 38.84 kB / 0.6894 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.303e-06/0.8628, allocations: 0 / 0.6894 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005536/0.8684, allocations: 1.674 MB / 0.6911 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.8685, allocations: 132.5 kB / 0.6912 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.8692, allocations: 0.621 MB / 0.6918 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/0.8693, allocations: 33.7 kB / 0.6918 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.8696, allocations: 363 kB / 0.6922 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.8697, allocations: 145.9 kB / 0.6923 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.87, allocations: 158.5 kB / 0.6925 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.8702, allocations: 370.8 kB / 0.6928 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.8705, allocations: 205.9 kB / 0.693 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.8711, allocations: 0.5086 MB / 0.6935 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009837/0.8721, allocations: 0.7523 MB / 0.6943 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.8722, allocations: 7.938 kB / 0.6943 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00145/0.8736, allocations: 0.8719 MB / 0.6951 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.8737, allocations: 12 kB / 0.6951 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.8737, allocations: 8 kB / 0.6951 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.875, allocations: 317.5 kB / 0.6954 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.8754, allocations: 127.7 kB / 0.6956 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.8766, allocations: 0.9269 MB / 0.6965 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.877, allocations: 27.98 kB / 0.6965 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/0.8771, allocations: 67.94 kB / 0.6966 GB, free: 3.805 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.000348/0.8775, allocations: 245.6 kB / 0.6968 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.8776, allocations: 75.19 kB / 0.6969 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.879, allocations: 0.6736 MB / 0.6975 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.879, allocations: 4 kB / 0.6975 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.879, allocations: 4 kB / 0.6975 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.879, allocations: 3.984 kB / 0.6975 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.8815, allocations: 1.603 MB / 0.6991 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8815, allocations: 7.938 kB / 0.6991 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.8825, allocations: 207.9 kB / 0.6993 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.68e-05/0.8826, allocations: 24.78 kB / 0.6993 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.8827, allocations: 19.98 kB / 0.6994 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.8849, allocations: 2.877 MB / 0.7022 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8849, allocations: 4.031 kB / 0.7022 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.886, allocations: 0.8088 MB / 0.703 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.8864, allocations: 196.1 kB / 0.7031 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.8865, allocations: 8 kB / 0.7032 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.8869, allocations: 28.05 kB / 0.7032 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.887, allocations: 39.89 kB / 0.7032 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.887, allocations: 39.98 kB / 0.7033 GB, free: 12.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005033/0.8876, allocations: 443 kB / 0.7037 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8876, allocations: 0 / 0.7037 GB, free: 12.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009462/0.8885, allocations: 292 kB / 0.704 GB, free: 11.72 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.0009712/0.8895, allocations: 373.6 kB / 0.7043 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.8906, allocations: 0.5425 MB / 0.7048 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.8906, allocations: 7.938 kB / 0.7049 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.8917, allocations: 415.7 kB / 0.7052 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.8933, allocations: 369.9 kB / 0.7056 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.896, allocations: 1.306 MB / 0.7069 GB, free: 8.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.8969, allocations: 0.9299 MB / 0.7078 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008443/0.8977, allocations: 261.9 kB / 0.708 GB, free: 7.477 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.898, allocations: 103.4 kB / 0.7081 GB, free: 7.375 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.898, allocations: 0 / 0.7081 GB, free: 7.375 MB / 0.545 GB Notification: Performance of Templates: time 0.0453/0.9433, allocations: 18.49 MB / 0.7262 GB, free: 4.902 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/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