Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 95.64 kB / 16.98 MB, free: 5.938 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.0009983/0.0009986, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.37/1.37, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.1915/0.1915, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003954, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1135, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3708/0.4844, allocations: 125.4 MB / 0.5828 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007223/0.4917, allocations: 4.87 MB / 0.5876 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.493, allocations: 27.75 kB / 0.5876 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.4942, allocations: 282.6 kB / 0.5879 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.4962, allocations: 0.7126 MB / 0.5886 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.4986, allocations: 0.8074 MB / 0.5894 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.5, allocations: 1.028 MB / 0.5904 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.5006, allocations: 395.5 kB / 0.5907 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009166/0.5015, allocations: 0.5763 MB / 0.5913 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.5021, allocations: 474.5 kB / 0.5918 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.863e-05/0.5022, allocations: 36 kB / 0.5918 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009868/0.5032, allocations: 427.5 kB / 0.5922 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.5035, allocations: 219.4 kB / 0.5924 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.5037, allocations: 165.4 kB / 0.5926 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.5045, allocations: 0.8013 MB / 0.5934 GB, free: 9.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5046, allocations: 0 / 0.5934 GB, free: 9.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5046, allocations: 4 kB / 0.5934 GB, free: 9.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.5046, allocations: 0 / 0.5934 GB, free: 9.352 MB / 430.1 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.001787/0.5064, allocations: 0.9237 MB / 0.5943 GB, free: 8.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5064, allocations: 8.562 kB / 0.5943 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.5067, allocations: 87.14 kB / 0.5944 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.5076, allocations: 0.4966 MB / 0.5948 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.384e-05/0.5077, allocations: 100.3 kB / 0.5949 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.5077, allocations: 51.98 kB / 0.595 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5089, allocations: 0.8148 MB / 0.5958 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.509, allocations: 0 / 0.5958 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.509, allocations: 27.98 kB / 0.5958 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.5091, allocations: 32.98 kB / 0.5958 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.5101, allocations: 0.6556 MB / 0.5965 GB, free: 5.992 MB / 430.1 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.004661/0.5148, allocations: 3.974 MB / 0.6004 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.5156, allocations: 424.2 kB / 0.6008 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/0.5163, allocations: 0.7327 MB / 0.6015 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.5163, allocations: 46.83 kB / 0.6015 GB, free: 364 kB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.864e-06/0.5163, allocations: 0 / 0.6015 GB, free: 364 kB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003234/0.5196, allocations: 1.537 MB / 0.603 GB, free: 14.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.5197, allocations: 132.5 kB / 0.6031 GB, free: 14.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.5203, allocations: 0.5654 MB / 0.6037 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.5204, allocations: 37.7 kB / 0.6037 GB, free: 13.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.5206, allocations: 354.9 kB / 0.6041 GB, free: 13.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.5207, allocations: 161.7 kB / 0.6042 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.5208, allocations: 16 kB / 0.6042 GB, free: 13.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5209, allocations: 378.8 kB / 0.6046 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.5213, allocations: 213.9 kB / 0.6048 GB, free: 12.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.5219, allocations: 0.5045 MB / 0.6053 GB, free: 12.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.5225, allocations: 312.5 kB / 0.6056 GB, free: 11.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5225, allocations: 4 kB / 0.6056 GB, free: 11.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001802/0.5243, allocations: 0.9096 MB / 0.6065 GB, free: 10.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.5243, allocations: 10.34 kB / 0.6065 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.5244, allocations: 8 kB / 0.6065 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.5258, allocations: 293.2 kB / 0.6068 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.5262, allocations: 119.8 kB / 0.6069 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009536/0.5272, allocations: 0.884 MB / 0.6078 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.5277, allocations: 44.03 kB / 0.6078 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.5278, allocations: 40.05 kB / 0.6078 GB, free: 9.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003273/0.5281, allocations: 249.5 kB / 0.6081 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5282, allocations: 67.16 kB / 0.6081 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.5296, allocations: 0.7838 MB / 0.6089 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5296, allocations: 4 kB / 0.6089 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5296, allocations: 0 / 0.6089 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5296, allocations: 3.984 kB / 0.6089 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.5317, allocations: 1.411 MB / 0.6103 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5317, allocations: 0 / 0.6103 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.5327, allocations: 199.8 kB / 0.6105 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.605e-05/0.5328, allocations: 29.03 kB / 0.6105 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.5329, allocations: 16.86 kB / 0.6105 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.5348, allocations: 2.688 MB / 0.6132 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5348, allocations: 8.094 kB / 0.6132 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.5363, allocations: 1.072 MB / 0.6142 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.5366, allocations: 216.2 kB / 0.6144 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.5367, allocations: 12 kB / 0.6144 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.5371, allocations: 39.89 kB / 0.6145 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.5372, allocations: 35.89 kB / 0.6145 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.5373, allocations: 27.97 kB / 0.6145 GB, free: 2.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004695/0.5378, allocations: 407.1 kB / 0.6149 GB, free: 1.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5378, allocations: 0 / 0.6149 GB, free: 1.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008005/0.5386, allocations: 220 kB / 0.6151 GB, free: 1.602 MB / 446.1 MB 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/0.539, allocations: 251.8 kB / 0.6154 GB, free: 1.355 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.5402, allocations: 0.5992 MB / 0.616 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5402, allocations: 4 kB / 0.616 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5413, allocations: 454.8 kB / 0.6164 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5427, allocations: 328.9 kB / 0.6167 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.5459, allocations: 1.624 MB / 0.6183 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.5464, allocations: 0.9503 MB / 0.6192 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006962/0.5471, allocations: 204.9 kB / 0.6194 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.5473, allocations: 63.42 kB / 0.6195 GB, free: 13.08 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5473, allocations: 0 / 0.6195 GB, free: 13.08 MB / 462.1 MB Notification: Performance of Templates: time 0.0222/0.5695, allocations: 13.69 MB / 0.6328 GB, free: 15.55 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches