Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 104.1 kB / 17.63 MB, free: 5.504 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.000945/0.000945, allocations: 192 kB / 18.56 MB, free: 4.578 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.31/1.31, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2158/0.2158, allocations: 44.17 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.06 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4093/0.5469, allocations: 136.1 MB / 0.5912 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.5517, allocations: 4.715 MB / 0.5958 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.5519, allocations: 0 / 0.5958 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.5522, allocations: 67.58 kB / 0.5959 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.5538, allocations: 0.7189 MB / 0.5966 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.5542, allocations: 162.5 kB / 0.5967 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004731/0.5547, allocations: 378.1 kB / 0.5971 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.5547, allocations: 13.69 kB / 0.5971 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.5549, allocations: 155.5 kB / 0.5972 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.5552, allocations: 191.3 kB / 0.5974 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.5553, allocations: 8 kB / 0.5974 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.5566, allocations: 0.6824 MB / 0.5981 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.5567, allocations: 43.86 kB / 0.5981 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.5568, allocations: 111.5 kB / 0.5982 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007178/0.5575, allocations: 460.8 kB / 0.5987 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5575, allocations: 3.984 kB / 0.5987 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5575, allocations: 0 / 0.5987 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.5575, allocations: 0 / 0.5987 GB, free: 0.9453 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001005/0.5586, allocations: 0.5897 MB / 0.5993 GB, free: 316 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5586, allocations: 12.03 kB / 0.5993 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.5588, allocations: 24.73 kB / 0.5993 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.559, allocations: 232 kB / 0.5995 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.5591, allocations: 119.9 kB / 0.5996 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.5591, allocations: 20.56 kB / 0.5996 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.5596, allocations: 330.7 kB / 0.6 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5597, allocations: 4.812 kB / 0.6 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.5597, allocations: 15.98 kB / 0.6 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.5597, allocations: 4 kB / 0.6 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.5605, allocations: 0.7468 MB / 0.6007 GB, free: 14.73 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.00122/0.5617, allocations: 1.226 MB / 0.6019 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.5621, allocations: 171.8 kB / 0.6021 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.5622, allocations: 89.36 kB / 0.6022 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002317/0.5645, allocations: 2.699 MB / 0.6048 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.5646, allocations: 46.56 kB / 0.6048 GB, free: 9.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.5646, allocations: 0 / 0.6048 GB, free: 9.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006289/0.5652, allocations: 212.7 kB / 0.605 GB, free: 9.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.5653, allocations: 59.34 kB / 0.6051 GB, free: 9.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.5655, allocations: 219 kB / 0.6053 GB, free: 9.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.5655, allocations: 25.7 kB / 0.6053 GB, free: 9.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.5657, allocations: 222.7 kB / 0.6055 GB, free: 9.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.5657, allocations: 47.36 kB / 0.6056 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.5658, allocations: 86.03 kB / 0.6057 GB, free: 8.961 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5659, allocations: 326.8 kB / 0.606 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.566, allocations: 48.84 kB / 0.606 GB, free: 8.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.5663, allocations: 332 kB / 0.6064 GB, free: 8.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.5667, allocations: 430 kB / 0.6068 GB, free: 7.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5667, allocations: 4 kB / 0.6068 GB, free: 7.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000517/0.5673, allocations: 381.7 kB / 0.6071 GB, free: 7.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5673, allocations: 8 kB / 0.6071 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5673, allocations: 12 kB / 0.6071 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.5673, allocations: 12 kB / 0.6072 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.5676, allocations: 111.8 kB / 0.6073 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.5677, allocations: 19.94 kB / 0.6073 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.5679, allocations: 16 kB / 0.6073 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.5679, allocations: 31.98 kB / 0.6073 GB, free: 6.977 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.568, allocations: 157.6 kB / 0.6075 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.5681, allocations: 19.72 kB / 0.6075 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.5684, allocations: 151.9 kB / 0.6076 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5684, allocations: 3.938 kB / 0.6076 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5684, allocations: 4 kB / 0.6077 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5684, allocations: 0 / 0.6077 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.5689, allocations: 447.9 kB / 0.6081 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5689, allocations: 0 / 0.6081 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.569, allocations: 27.98 kB / 0.6081 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5691, allocations: 0 / 0.6081 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5691, allocations: 7.984 kB / 0.6081 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5691, allocations: 4 kB / 0.6081 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5691, allocations: 4.062 kB / 0.6081 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.5693, allocations: 216.9 kB / 0.6083 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.5694, allocations: 108.8 kB / 0.6084 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.5695, allocations: 3.938 kB / 0.6084 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.5696, allocations: 13.8 kB / 0.6084 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.5697, allocations: 11.98 kB / 0.6085 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.5697, allocations: 8 kB / 0.6085 GB, free: 5.695 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.5698, allocations: 152.5 kB / 0.6086 GB, free: 5.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5698, allocations: 0 / 0.6086 GB, free: 5.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.5703, allocations: 88 kB / 0.6087 GB, free: 5.461 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003368/0.5706, allocations: 155.1 kB / 0.6088 GB, free: 5.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.5709, allocations: 194.1 kB / 0.609 GB, free: 5.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5709, allocations: 0 / 0.609 GB, free: 5.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/0.571, allocations: 33.78 kB / 0.6091 GB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.5714, allocations: 54.66 kB / 0.6091 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008016/0.5722, allocations: 496.2 kB / 0.6096 GB, free: 4.508 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5725, allocations: 0.7283 MB / 0.6103 GB, free: 3.754 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.5728, allocations: 58.81 kB / 0.6104 GB, free: 3.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.5728, allocations: 27.42 kB / 0.6104 GB, free: 3.672 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5728, allocations: 0 / 0.6104 GB, free: 3.672 MB / 446.1 MB Notification: Performance of Templates: time 0.006572/0.5794, allocations: 3.162 MB / 0.6135 GB, free: 0.5508 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches