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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007722/0.0007722, allocations: 84.45 kB / 20.69 MB, free: 3.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007481/0.0007481, allocations: 169.9 kB / 23.97 MB, free: 0.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8217/0.8217, allocations: 158.6 MB / 185.7 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1485/0.1485, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.938 kB / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.399e-05, allocations: 6.281 kB / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.369/0.369, allocations: 155.6 MB / 0.5505 GB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007785/0.3768, allocations: 7.508 MB / 0.5579 GB, free: 1.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008681/0.3776, allocations: 30.12 kB / 0.5579 GB, free: 1.902 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000976/0.3786, allocations: 311.4 kB / 0.5582 GB, free: 1.734 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.3824, allocations: 1.562 MB / 0.5597 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.3849, allocations: 1.201 MB / 0.5609 GB, free: 212 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.3873, allocations: 1.884 MB / 0.5627 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006759/0.388, allocations: 395.7 kB / 0.5631 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.3908, allocations: 1.498 MB / 0.5646 GB, free: 13.9 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009237/0.3917, allocations: 0.6423 MB / 0.5652 GB, free: 13.56 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3918, allocations: 64.81 kB / 0.5652 GB, free: 13.56 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.3932, allocations: 0.7491 MB / 0.566 GB, free: 13.22 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.3934, allocations: 288.6 kB / 0.5663 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.3937, allocations: 280.2 kB / 0.5665 GB, free: 12.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.3958, allocations: 1.537 MB / 0.568 GB, free: 11.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3958, allocations: 3.938 kB / 0.568 GB, free: 11.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3958, allocations: 0 / 0.568 GB, free: 11.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.3959, allocations: 0 / 0.568 GB, free: 11.9 MB / 458.7 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.001894/0.3978, allocations: 1.065 MB / 0.5691 GB, free: 11.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3978, allocations: 7.156 kB / 0.5691 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.3983, allocations: 153.8 kB / 0.5692 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.399, allocations: 473.7 kB / 0.5697 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.3991, allocations: 161.2 kB / 0.5698 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.3992, allocations: 47.72 kB / 0.5699 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009878/0.4002, allocations: 1.163 MB / 0.571 GB, free: 9.496 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.4002, allocations: 7.891 kB / 0.571 GB, free: 9.488 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.4002, allocations: 27.92 kB / 0.571 GB, free: 9.469 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.4003, allocations: 40.92 kB / 0.5711 GB, free: 9.457 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.401, allocations: 0.6168 MB / 0.5717 GB, free: 9.156 MB / 458.7 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.002865/0.4038, allocations: 3.227 MB / 0.5748 GB, free: 6.453 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.4043, allocations: 337.9 kB / 0.5752 GB, free: 6.273 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.4044, allocations: 156.9 kB / 0.5753 GB, free: 6.195 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002985/0.4047, allocations: 137.1 kB / 0.5754 GB, free: 6.141 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4048, allocations: 37.16 kB / 0.5755 GB, free: 6.098 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/0.4048, allocations: 6.938 kB / 0.5755 GB, free: 6.094 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.003352/0.4081, allocations: 1.586 MB / 0.577 GB, free: 5.152 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.4082, allocations: 138.4 kB / 0.5772 GB, free: 4.992 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.4087, allocations: 0.528 MB / 0.5777 GB, free: 4.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.4087, allocations: 36.27 kB / 0.5777 GB, free: 4.629 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.4089, allocations: 382.6 kB / 0.5781 GB, free: 4.289 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.409, allocations: 155.9 kB / 0.5782 GB, free: 4.156 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.4092, allocations: 154.9 kB / 0.5784 GB, free: 4.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4093, allocations: 376 kB / 0.5787 GB, free: 3.707 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.4095, allocations: 202.4 kB / 0.5789 GB, free: 3.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.4099, allocations: 0.5919 MB / 0.5795 GB, free: 2.766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.4106, allocations: 0.7487 MB / 0.5802 GB, free: 1.879 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4106, allocations: 8 kB / 0.5802 GB, free: 1.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001004/0.4116, allocations: 0.8649 MB / 0.5811 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.4117, allocations: 12.22 kB / 0.5811 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4117, allocations: 12 kB / 0.5811 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008723/0.4125, allocations: 317.8 kB / 0.5814 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.4128, allocations: 119.8 kB / 0.5815 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007973/0.4136, allocations: 0.9342 MB / 0.5824 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.4139, allocations: 27.98 kB / 0.5825 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.414, allocations: 68 kB / 0.5825 GB, free: 15.49 MB / 474.7 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.0003231/0.4143, allocations: 247.8 kB / 0.5828 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.4144, allocations: 63.62 kB / 0.5828 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/0.4153, allocations: 0.6768 MB / 0.5835 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4153, allocations: 4 kB / 0.5835 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4153, allocations: 1.219 kB / 0.5835 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4153, allocations: 4 kB / 0.5835 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.4168, allocations: 1.157 MB / 0.5846 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4168, allocations: 4 kB / 0.5846 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.4173, allocations: 207.8 kB / 0.5848 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.168e-05/0.4174, allocations: 32.91 kB / 0.5849 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.4174, allocations: 12 kB / 0.5849 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.4188, allocations: 2.621 MB / 0.5874 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4188, allocations: 0 / 0.5874 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.4196, allocations: 0.8053 MB / 0.5882 GB, free: 9.355 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.4199, allocations: 107.6 kB / 0.5883 GB, free: 9.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.4199, allocations: 12 kB / 0.5883 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.4201, allocations: 17.48 kB / 0.5883 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.4202, allocations: 51.61 kB / 0.5884 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.4203, allocations: 47.97 kB / 0.5884 GB, free: 9.125 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003248/0.4206, allocations: 358.8 kB / 0.5888 GB, free: 8.777 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4206, allocations: 128 / 0.5888 GB, free: 8.777 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000899/0.4215, allocations: 299.7 kB / 0.5891 GB, free: 8.484 MB / 474.7 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.0008761/0.4224, allocations: 391.8 kB / 0.5894 GB, free: 8.102 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008158/0.4232, allocations: 0.5276 MB / 0.59 GB, free: 7.578 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4232, allocations: 4 kB / 0.59 GB, free: 7.574 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.4237, allocations: 390.9 kB / 0.5903 GB, free: 7.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.4245, allocations: 293.7 kB / 0.5906 GB, free: 6.914 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.4264, allocations: 1.262 MB / 0.5918 GB, free: 5.605 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.4266, allocations: 332.2 kB / 0.5922 GB, free: 5.254 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.4268, allocations: 108.5 kB / 0.5923 GB, free: 5.145 MB / 474.7 MB Notification: Performance of SimCode: time 2.194e-06/0.4268, allocations: 0 / 0.5923 GB, free: 5.145 MB / 474.7 MB Notification: Performance of Templates: time 0.01795/0.4448, allocations: 16.65 MB / 0.6085 GB, free: 4.516 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.446935763582587]