Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001077/0.001077, allocations: 194 kB / 18.77 MB, free: 4.742 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2061/0.2061, allocations: 44.18 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.41 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4028/0.5205, allocations: 147.9 MB / 0.6026 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00658/0.5271, allocations: 5.228 MB / 0.6077 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.5274, allocations: 0 / 0.6077 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.5277, allocations: 51.72 kB / 0.6078 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.5311, allocations: 1.045 MB / 0.6088 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.5314, allocations: 135.3 kB / 0.6089 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.5321, allocations: 466 kB / 0.6094 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.5321, allocations: 9.688 kB / 0.6094 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.5325, allocations: 167.3 kB / 0.6095 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.5328, allocations: 179.5 kB / 0.6097 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.5329, allocations: 8 kB / 0.6097 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.535, allocations: 0.983 MB / 0.6107 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.5351, allocations: 51.75 kB / 0.6107 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.5353, allocations: 107.5 kB / 0.6108 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.5364, allocations: 0.6043 MB / 0.6114 GB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5364, allocations: 0 / 0.6114 GB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5364, allocations: 3.984 kB / 0.6114 GB, free: 4.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.5364, allocations: 0 / 0.6114 GB, free: 4.297 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001574/0.538, allocations: 0.6794 MB / 0.6121 GB, free: 3.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.538, allocations: 11.97 kB / 0.6121 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007605/0.5456, allocations: 0.5863 MB / 0.6127 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.5461, allocations: 263.7 kB / 0.6129 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.5463, allocations: 131.4 kB / 0.613 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.5464, allocations: 20 kB / 0.6131 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.5477, allocations: 0.5556 MB / 0.6136 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5477, allocations: 7.938 kB / 0.6136 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.5478, allocations: 12 kB / 0.6136 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.5478, allocations: 4 kB / 0.6136 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.5493, allocations: 0.6307 MB / 0.6142 GB, free: 1.258 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.00231/0.5517, allocations: 1.715 MB / 0.6159 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.5521, allocations: 158.5 kB / 0.6161 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.5522, allocations: 84.81 kB / 0.6161 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/0.553, allocations: 0.7041 MB / 0.6168 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.553, allocations: 34.56 kB / 0.6169 GB, free: 14.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.535e-06/0.553, allocations: 0 / 0.6169 GB, free: 14.3 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001101/0.5541, allocations: 323.3 kB / 0.6172 GB, free: 13.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.5542, allocations: 51.41 kB / 0.6172 GB, free: 13.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.5544, allocations: 195 kB / 0.6174 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.5544, allocations: 25.7 kB / 0.6174 GB, free: 13.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5545, allocations: 187.2 kB / 0.6176 GB, free: 13.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.5546, allocations: 71.09 kB / 0.6177 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.5547, allocations: 102 kB / 0.6178 GB, free: 13.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5549, allocations: 326.8 kB / 0.6181 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.555, allocations: 64.7 kB / 0.6182 GB, free: 12.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.5553, allocations: 265.3 kB / 0.6184 GB, free: 12.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.5558, allocations: 362.1 kB / 0.6188 GB, free: 12.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5558, allocations: 4 kB / 0.6188 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006528/0.5565, allocations: 369.2 kB / 0.6191 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5565, allocations: 8 kB / 0.6191 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5565, allocations: 4 kB / 0.6191 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.5566, allocations: 15.94 kB / 0.6191 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.557, allocations: 131.8 kB / 0.6193 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003811/0.5574, allocations: 0.6021 MB / 0.6198 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.5577, allocations: 43.53 kB / 0.6199 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.5578, allocations: 40 kB / 0.6199 GB, free: 10.89 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001468/0.5579, allocations: 153.8 kB / 0.6201 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.558, allocations: 19.81 kB / 0.6201 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009538/0.559, allocations: 445.5 kB / 0.6205 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.559, allocations: 4 kB / 0.6205 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.559, allocations: 0 / 0.6205 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.559, allocations: 0 / 0.6205 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.56, allocations: 0.6312 MB / 0.6211 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.56, allocations: 0 / 0.6211 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.5602, allocations: 51.97 kB / 0.6212 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5602, allocations: 4 kB / 0.6212 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.5603, allocations: 15.98 kB / 0.6212 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003309/0.5606, allocations: 0.5939 MB / 0.6218 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5606, allocations: 4.031 kB / 0.6218 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.561, allocations: 300 kB / 0.6221 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.5611, allocations: 108.8 kB / 0.6222 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.5612, allocations: 8 kB / 0.6222 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.5615, allocations: 8 kB / 0.6222 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.5615, allocations: 23.97 kB / 0.6222 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.5616, allocations: 12 kB / 0.6222 GB, free: 8.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.5617, allocations: 144.2 kB / 0.6224 GB, free: 8.207 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.5617, allocations: 3.938 kB / 0.6224 GB, free: 8.203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006647/0.5624, allocations: 159.7 kB / 0.6225 GB, free: 8.047 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0006175/0.563, allocations: 244.9 kB / 0.6228 GB, free: 7.816 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005793/0.5636, allocations: 229.3 kB / 0.623 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5636, allocations: 0 / 0.623 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.5638, allocations: 73.91 kB / 0.623 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.5644, allocations: 67.98 kB / 0.6231 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.5659, allocations: 0.791 MB / 0.6239 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.5662, allocations: 0.717 MB / 0.6246 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.5665, allocations: 99.34 kB / 0.6247 GB, free: 5.77 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5665, allocations: 0 / 0.6247 GB, free: 5.77 MB / 462.1 MB Notification: Performance of Templates: time 0.008576/0.5751, allocations: 5.261 MB / 0.6298 GB, free: 0.5078 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches