Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008423/0.0008419, allocations: 103.6 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4014/0.4014, allocations: 43.56 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004064, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4225/0.5605, allocations: 137.3 MB / 0.6128 GB, free: 13.99 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.5679, allocations: 6.455 MB / 0.6191 GB, free: 7.551 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.568, allocations: 8 kB / 0.6191 GB, free: 7.543 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.5683, allocations: 39.73 kB / 0.6192 GB, free: 7.504 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.5716, allocations: 1.143 MB / 0.6203 GB, free: 6.363 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.572, allocations: 136.4 kB / 0.6204 GB, free: 6.238 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005524/0.5725, allocations: 410.1 kB / 0.6208 GB, free: 5.836 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.5726, allocations: 12.61 kB / 0.6208 GB, free: 5.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.573, allocations: 167.3 kB / 0.621 GB, free: 5.664 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.5733, allocations: 179.5 kB / 0.6211 GB, free: 5.488 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.5733, allocations: 7.984 kB / 0.6212 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.5754, allocations: 1.03 MB / 0.6222 GB, free: 4.449 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.5755, allocations: 43.81 kB / 0.6222 GB, free: 4.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.5756, allocations: 61.64 kB / 0.6223 GB, free: 4.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.5766, allocations: 0.6487 MB / 0.6229 GB, free: 3.691 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5766, allocations: 0 / 0.6229 GB, free: 3.691 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5767, allocations: 0 / 0.6229 GB, free: 3.691 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.5767, allocations: 0 / 0.6229 GB, free: 3.691 MB / 442.7 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.00136/0.578, allocations: 0.6511 MB / 0.6235 GB, free: 2.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5781, allocations: 8.031 kB / 0.6235 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007185/0.5853, allocations: 0.5909 MB / 0.6241 GB, free: 2.402 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.5858, allocations: 258.7 kB / 0.6244 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.5859, allocations: 127.4 kB / 0.6245 GB, free: 1.961 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.586, allocations: 31.44 kB / 0.6245 GB, free: 1.934 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.5872, allocations: 0.5594 MB / 0.6251 GB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5872, allocations: 0 / 0.6251 GB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/0.5873, allocations: 8 kB / 0.6251 GB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.5873, allocations: 11.94 kB / 0.6251 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.5887, allocations: 0.626 MB / 0.6257 GB, free: 0.6992 MB / 442.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.002051/0.5907, allocations: 1.631 MB / 0.6273 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.5911, allocations: 154.5 kB / 0.6274 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.5912, allocations: 76.88 kB / 0.6275 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.5926, allocations: 1.323 MB / 0.6288 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5927, allocations: 34.56 kB / 0.6288 GB, free: 13.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.5927, allocations: 0 / 0.6288 GB, free: 13.15 MB / 458.7 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=18): time 0.0009898/0.5937, allocations: 328.6 kB / 0.6291 GB, free: 12.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.5937, allocations: 59.31 kB / 0.6292 GB, free: 12.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.5939, allocations: 187.3 kB / 0.6294 GB, free: 12.56 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.594, allocations: 29.7 kB / 0.6294 GB, free: 12.53 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5941, allocations: 187.2 kB / 0.6296 GB, free: 12.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.5941, allocations: 67.08 kB / 0.6296 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.5942, allocations: 8 kB / 0.6297 GB, free: 12.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5943, allocations: 322.8 kB / 0.63 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.5944, allocations: 64.7 kB / 0.63 GB, free: 11.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.5947, allocations: 275.7 kB / 0.6303 GB, free: 11.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.595, allocations: 111.8 kB / 0.6304 GB, free: 11.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.595, allocations: 0 / 0.6304 GB, free: 11.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006437/0.5956, allocations: 365.6 kB / 0.6307 GB, free: 11.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5957, allocations: 8 kB / 0.6308 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5957, allocations: 8.062 kB / 0.6308 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.5957, allocations: 12 kB / 0.6308 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.5961, allocations: 123.8 kB / 0.6309 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003836/0.5965, allocations: 0.5977 MB / 0.6315 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.5968, allocations: 43.53 kB / 0.6315 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.5969, allocations: 43.98 kB / 0.6316 GB, free: 10.19 MB / 458.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001495/0.597, allocations: 153.7 kB / 0.6317 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.5971, allocations: 19.81 kB / 0.6317 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007613/0.5978, allocations: 302.7 kB / 0.632 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5979, allocations: 0 / 0.632 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5979, allocations: 0 / 0.632 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5979, allocations: 0 / 0.632 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.5986, allocations: 0.5185 MB / 0.6325 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5986, allocations: 3.984 kB / 0.6325 GB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.5989, allocations: 59.95 kB / 0.6326 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.5989, allocations: 4 kB / 0.6326 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.5989, allocations: 4 kB / 0.6326 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003298/0.5992, allocations: 0.5976 MB / 0.6332 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5992, allocations: 4.25 kB / 0.6332 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.5996, allocations: 270.3 kB / 0.6334 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.5997, allocations: 116.9 kB / 0.6335 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.5998, allocations: 7.953 kB / 0.6335 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.6, allocations: 12 kB / 0.6336 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.6001, allocations: 15.97 kB / 0.6336 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.6001, allocations: 16 kB / 0.6336 GB, free: 7.949 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.6002, allocations: 138.1 kB / 0.6337 GB, free: 7.816 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6002, allocations: 3.938 kB / 0.6337 GB, free: 7.812 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007591/0.601, allocations: 191.9 kB / 0.6339 GB, free: 7.625 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0008709/0.6019, allocations: 309.7 kB / 0.6342 GB, free: 7.324 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.6024, allocations: 235.7 kB / 0.6344 GB, free: 7.098 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6025, allocations: 0 / 0.6344 GB, free: 7.098 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.6027, allocations: 79.89 kB / 0.6345 GB, free: 7.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.6032, allocations: 55.22 kB / 0.6346 GB, free: 6.969 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.6066, allocations: 2.073 MB / 0.6366 GB, free: 4.852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.607, allocations: 0.7285 MB / 0.6373 GB, free: 4.098 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.6072, allocations: 63.41 kB / 0.6374 GB, free: 4.035 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6072, allocations: 4 kB / 0.6374 GB, free: 4.031 MB / 458.7 MB Notification: Performance of Templates: time 0.009611/0.6168, allocations: 5.662 MB / 0.6429 GB, free: 14.38 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches