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.001363/0.001363, allocations: 99.8 kB / 17 MB, free: 6.844 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.001858/0.001858, allocations: 186.3 kB / 17.89 MB, free: 6.078 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.449/1.449, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2859/0.2859, allocations: 44.24 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 13.66 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.378/0.4962, allocations: 134.3 MB / 0.5917 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.5042, allocations: 5.326 MB / 0.5969 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009226/0.5051, allocations: 27.81 kB / 0.597 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.506, allocations: 262.4 kB / 0.5972 GB, free: 6.578 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001971/0.508, allocations: 0.8122 MB / 0.598 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.5102, allocations: 0.7996 MB / 0.5988 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.5126, allocations: 2.202 MB / 0.6009 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005773/0.5132, allocations: 383.7 kB / 0.6013 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.5142, allocations: 0.6577 MB / 0.6019 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009368/0.5152, allocations: 0.6969 MB / 0.6026 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.5152, allocations: 32 kB / 0.6027 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000937/0.5162, allocations: 419.2 kB / 0.6031 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.5164, allocations: 231.3 kB / 0.6033 GB, free: 368 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.5166, allocations: 165.3 kB / 0.6034 GB, free: 196 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.5174, allocations: 0.8047 MB / 0.6042 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5174, allocations: 8 kB / 0.6042 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5174, allocations: 0 / 0.6042 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.5175, allocations: 0 / 0.6042 GB, free: 15.38 MB / 446.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.001688/0.5192, allocations: 0.9236 MB / 0.6051 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.5192, allocations: 8.562 kB / 0.6051 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.5195, allocations: 91.14 kB / 0.6052 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.5203, allocations: 0.5005 MB / 0.6057 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.5204, allocations: 96.41 kB / 0.6058 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.5205, allocations: 48 kB / 0.6059 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.5217, allocations: 0.8171 MB / 0.6067 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5218, allocations: 3.938 kB / 0.6067 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.5218, allocations: 24 kB / 0.6067 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.5219, allocations: 36.98 kB / 0.6067 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5229, allocations: 0.6487 MB / 0.6073 GB, free: 12.02 MB / 446.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.004309/0.5272, allocations: 3.959 MB / 0.6112 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007596/0.528, allocations: 423.6 kB / 0.6116 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.5284, allocations: 202.2 kB / 0.6118 GB, free: 7.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005716/0.5289, allocations: 0.7327 MB / 0.6125 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.529, allocations: 42.89 kB / 0.6126 GB, free: 6.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.529, allocations: 0 / 0.6126 GB, free: 6.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003091/0.5321, allocations: 1.542 MB / 0.6141 GB, free: 4.594 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.5322, allocations: 140.5 kB / 0.6142 GB, free: 4.426 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006276/0.5328, allocations: 0.5654 MB / 0.6148 GB, free: 3.852 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.5329, allocations: 33.7 kB / 0.6148 GB, free: 3.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.5332, allocations: 351 kB / 0.6151 GB, free: 3.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5333, allocations: 165.6 kB / 0.6153 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.5333, allocations: 16 kB / 0.6153 GB, free: 3.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5335, allocations: 374.8 kB / 0.6157 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.5339, allocations: 221.8 kB / 0.6159 GB, free: 2.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.5345, allocations: 0.5084 MB / 0.6164 GB, free: 2.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.535, allocations: 316.5 kB / 0.6167 GB, free: 1.738 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.535, allocations: 0 / 0.6167 GB, free: 1.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001749/0.5367, allocations: 0.9021 MB / 0.6175 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.5368, allocations: 12 kB / 0.6176 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5368, allocations: 8 kB / 0.6176 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.5381, allocations: 291.3 kB / 0.6178 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.5385, allocations: 127.8 kB / 0.618 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009953/0.5395, allocations: 0.8917 MB / 0.6188 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.54, allocations: 44.05 kB / 0.6189 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.54, allocations: 32 kB / 0.6189 GB, free: 15.4 MB / 462.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.0003247/0.5404, allocations: 253.5 kB / 0.6191 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5405, allocations: 71.11 kB / 0.6192 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.5418, allocations: 0.7612 MB / 0.62 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5418, allocations: 7.984 kB / 0.62 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.5418, allocations: 0 / 0.62 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.5418, allocations: 4 kB / 0.62 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.5437, allocations: 1.411 MB / 0.6214 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5438, allocations: 4 kB / 0.6214 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.5448, allocations: 199.8 kB / 0.6215 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.541e-05/0.5449, allocations: 24.84 kB / 0.6216 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.5449, allocations: 12 kB / 0.6216 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.5469, allocations: 2.696 MB / 0.6242 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5469, allocations: 0 / 0.6242 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.5482, allocations: 1.003 MB / 0.6252 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.5485, allocations: 204.3 kB / 0.6254 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.5486, allocations: 11.98 kB / 0.6254 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.549, allocations: 35.83 kB / 0.6254 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.5491, allocations: 31.95 kB / 0.6255 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.5491, allocations: 27.98 kB / 0.6255 GB, free: 8.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005308/0.5497, allocations: 411 kB / 0.6259 GB, free: 7.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.525e-06/0.5497, allocations: 0 / 0.6259 GB, free: 7.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001327/0.551, allocations: 215.9 kB / 0.6261 GB, free: 7.57 MB / 462.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.0006803/0.5517, allocations: 263 kB / 0.6263 GB, free: 7.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.5537, allocations: 0.5949 MB / 0.6269 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5537, allocations: 0.5 kB / 0.6269 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.5553, allocations: 462.4 kB / 0.6274 GB, free: 6.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.5579, allocations: 325.1 kB / 0.6277 GB, free: 5.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.5617, allocations: 1.633 MB / 0.6293 GB, free: 4.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/0.5626, allocations: 0.9387 MB / 0.6302 GB, free: 3.297 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001267/0.5639, allocations: 205.2 kB / 0.6304 GB, free: 3.105 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.5642, allocations: 63.42 kB / 0.6304 GB, free: 3.043 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5642, allocations: 4 kB / 0.6304 GB, free: 3.039 MB / 462.1 MB Notification: Performance of Templates: time 0.03828/0.6025, allocations: 13.74 MB / 0.6439 GB, free: 5.457 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches