Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001062/0.001063, allocations: 113.4 kB / 18.45 MB, free: 4.598 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.001023/0.001023, allocations: 185.1 kB / 19.38 MB, free: 3.676 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.303/1.303, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1956/0.1956, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4102, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2049/0.6151, allocations: 174.4 MB / 0.6899 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008173/0.6234, allocations: 5.327 MB / 0.6951 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.6245, allocations: 15.88 kB / 0.6951 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.6258, allocations: 325.9 kB / 0.6954 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.6302, allocations: 1.245 MB / 0.6966 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.6335, allocations: 0.9617 MB / 0.6975 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003365/0.6369, allocations: 1.844 MB / 0.6993 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.638, allocations: 464.8 kB / 0.6998 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.6412, allocations: 1.078 MB / 0.7008 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.6428, allocations: 0.6618 MB / 0.7015 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.6431, allocations: 63.98 kB / 0.7016 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.6452, allocations: 0.6164 MB / 0.7022 GB, free: 464 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.6457, allocations: 263.2 kB / 0.7024 GB, free: 200 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.6469, allocations: 406.2 kB / 0.7028 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.6498, allocations: 1.297 MB / 0.7041 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6498, allocations: 4 kB / 0.7041 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6499, allocations: 3.938 kB / 0.7041 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.451e-05/0.6499, allocations: 4 kB / 0.7041 GB, free: 14.48 MB / 0.5606 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.003242/0.6532, allocations: 1.094 MB / 0.7051 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6532, allocations: 8.031 kB / 0.7051 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6543, allocations: 131.1 kB / 0.7053 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.6556, allocations: 0.5352 MB / 0.7058 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.6557, allocations: 100.4 kB / 0.7059 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.6559, allocations: 48 kB / 0.7059 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.6574, allocations: 0.8174 MB / 0.7067 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.6574, allocations: 0 / 0.7067 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.6575, allocations: 24 kB / 0.7068 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/0.6576, allocations: 48.84 kB / 0.7068 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.6588, allocations: 0.6244 MB / 0.7074 GB, free: 10.88 MB / 0.5606 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.005579/0.6644, allocations: 3.953 MB / 0.7113 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.665, allocations: 363.6 kB / 0.7116 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.6653, allocations: 173.3 kB / 0.7118 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.6654, allocations: 93.31 kB / 0.7119 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.6655, allocations: 38.84 kB / 0.7119 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.186e-06/0.6655, allocations: 0 / 0.7119 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00605/0.6716, allocations: 1.657 MB / 0.7135 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.6717, allocations: 136.5 kB / 0.7137 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.6725, allocations: 0.6133 MB / 0.7143 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.6726, allocations: 33.7 kB / 0.7143 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.673, allocations: 370.8 kB / 0.7146 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.6732, allocations: 146 kB / 0.7148 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.6734, allocations: 154.5 kB / 0.7149 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.6736, allocations: 374.8 kB / 0.7153 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.674, allocations: 201.9 kB / 0.7155 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.6747, allocations: 0.5202 MB / 0.716 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.6758, allocations: 0.7552 MB / 0.7167 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.6758, allocations: 4 kB / 0.7167 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3043/0.9801, allocations: 0.8738 MB / 0.7176 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.9801, allocations: 10.22 kB / 0.7176 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.9802, allocations: 12.84 kB / 0.7176 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.9818, allocations: 314.4 kB / 0.7179 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.9823, allocations: 122.5 kB / 0.718 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.9835, allocations: 0.9296 MB / 0.7189 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.9841, allocations: 31.16 kB / 0.719 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.9842, allocations: 64.39 kB / 0.719 GB, free: 189.2 MB / 0.5606 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.000408/0.9846, allocations: 251.7 kB / 0.7193 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.9848, allocations: 66.91 kB / 0.7193 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.9865, allocations: 0.8626 MB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.9865, allocations: 4.594 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.9865, allocations: 1 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.9865, allocations: 2.391 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.9886, allocations: 1.463 MB / 0.7216 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9886, allocations: 2.812 kB / 0.7216 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.9897, allocations: 205.7 kB / 0.7218 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.9898, allocations: 27.08 kB / 0.7218 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.9899, allocations: 29.73 kB / 0.7219 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.9915, allocations: 2.871 MB / 0.7247 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.9915, allocations: 2.375 kB / 0.7247 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.9927, allocations: 0.826 MB / 0.7255 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.993, allocations: 193.3 kB / 0.7257 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.9931, allocations: 12.33 kB / 0.7257 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.9935, allocations: 19.11 kB / 0.7257 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.9936, allocations: 41.08 kB / 0.7257 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/0.9937, allocations: 44.45 kB / 0.7258 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008081/0.9946, allocations: 437.2 kB / 0.7262 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9946, allocations: 2.969 kB / 0.7262 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001229/0.9958, allocations: 254.8 kB / 0.7264 GB, free: 184.2 MB / 0.5606 GB 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 (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.0009749/0.9968, allocations: 301.4 kB / 0.7267 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.9981, allocations: 0.5547 MB / 0.7273 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9982, allocations: 1.438 kB / 0.7273 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.9991, allocations: 414.7 kB / 0.7277 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/1.001, allocations: 364.2 kB / 0.728 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/1.003, allocations: 1.365 MB / 0.7293 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/1.003, allocations: 0.9365 MB / 0.7303 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/1.003, allocations: 127.8 kB / 0.7304 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/1.004, allocations: 0 / 0.7304 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.0209/1.024, allocations: 16.56 MB / 0.7465 GB, free: 171.3 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches