Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002793/0.002802, allocations: 183.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001171/0.001171, allocations: 100.4 kB / 270.9 MB, free: 8.383 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.5346/0.5346, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004703, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5599/0.6869, allocations: 141.9 MB / 0.6173 GB, free: 9.277 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.705, allocations: 8.795 MB / 0.6259 GB, free: 484 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/0.706, allocations: 19.81 kB / 0.6259 GB, free: 464 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.7074, allocations: 278.6 kB / 0.6262 GB, free: 184 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.7128, allocations: 1.184 MB / 0.6273 GB, free: 15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.7169, allocations: 0.9028 MB / 0.6282 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.7194, allocations: 1.044 MB / 0.6292 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000972/0.7205, allocations: 386.5 kB / 0.6296 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.7232, allocations: 0.744 MB / 0.6303 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.7245, allocations: 446.5 kB / 0.6308 GB, free: 11.51 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.7247, allocations: 36 kB / 0.6308 GB, free: 11.48 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.7272, allocations: 0.6281 MB / 0.6314 GB, free: 10.85 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.7277, allocations: 223.4 kB / 0.6316 GB, free: 10.63 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.7281, allocations: 161.4 kB / 0.6318 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.7305, allocations: 0.9812 MB / 0.6327 GB, free: 9.484 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.7306, allocations: 0 / 0.6327 GB, free: 9.484 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7306, allocations: 3.938 kB / 0.6327 GB, free: 9.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.7306, allocations: 0 / 0.6327 GB, free: 9.48 MB / 458.7 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.003227/0.7339, allocations: 0.9972 MB / 0.6337 GB, free: 8.434 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.7339, allocations: 20.02 kB / 0.6337 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.7352, allocations: 130.7 kB / 0.6339 GB, free: 8.289 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.7365, allocations: 492.6 kB / 0.6343 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.7367, allocations: 100.4 kB / 0.6344 GB, free: 7.656 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.7369, allocations: 44 kB / 0.6345 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.739, allocations: 0.8174 MB / 0.6353 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.7391, allocations: 0 / 0.6353 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.7392, allocations: 27.98 kB / 0.6353 GB, free: 6.691 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-05/0.7393, allocations: 40.98 kB / 0.6353 GB, free: 6.652 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.7413, allocations: 0.6243 MB / 0.6359 GB, free: 6.027 MB / 458.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.007596/0.7489, allocations: 3.958 MB / 0.6398 GB, free: 1.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/0.75, allocations: 343.6 kB / 0.6401 GB, free: 1.477 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.7501, allocations: 28.91 kB / 0.6402 GB, free: 1.449 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.7502, allocations: 42.84 kB / 0.6402 GB, free: 1.398 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.755e-06/0.7502, allocations: 3.938 kB / 0.6402 GB, free: 1.395 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.009714/0.7599, allocations: 1.662 MB / 0.6418 GB, free: 15.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.76, allocations: 132.5 kB / 0.642 GB, free: 15.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7613, allocations: 0.6133 MB / 0.6425 GB, free: 14.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.7614, allocations: 41.64 kB / 0.6426 GB, free: 14.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.7618, allocations: 389.5 kB / 0.643 GB, free: 14.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.7621, allocations: 145.9 kB / 0.6431 GB, free: 14.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.7621, allocations: 12 kB / 0.6431 GB, free: 14.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.7623, allocations: 334.8 kB / 0.6434 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/0.763, allocations: 205.8 kB / 0.6436 GB, free: 13.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009324/0.7639, allocations: 0.5125 MB / 0.6441 GB, free: 13.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008658/0.7648, allocations: 279.8 kB / 0.6444 GB, free: 12.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.7649, allocations: 4 kB / 0.6444 GB, free: 12.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002495/0.7674, allocations: 0.8426 MB / 0.6452 GB, free: 11.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.7674, allocations: 11.95 kB / 0.6452 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.7675, allocations: 12 kB / 0.6452 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/0.77, allocations: 325 kB / 0.6456 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008295/0.7709, allocations: 126.9 kB / 0.6457 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.7728, allocations: 0.9333 MB / 0.6466 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/0.7739, allocations: 51.97 kB / 0.6466 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.7741, allocations: 60 kB / 0.6467 GB, free: 10.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005561/0.7746, allocations: 249.5 kB / 0.6469 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.7748, allocations: 63.25 kB / 0.647 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.7774, allocations: 0.6819 MB / 0.6477 GB, free: 9.434 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.7775, allocations: 7.953 kB / 0.6477 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7775, allocations: 0 / 0.6477 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.7775, allocations: 3.984 kB / 0.6477 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.7808, allocations: 1.269 MB / 0.6489 GB, free: 8.059 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7809, allocations: 0 / 0.6489 GB, free: 8.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.7829, allocations: 211.8 kB / 0.6491 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/0.7831, allocations: 20.97 kB / 0.6491 GB, free: 7.828 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.7832, allocations: 20 kB / 0.6491 GB, free: 7.809 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.7863, allocations: 2.694 MB / 0.6518 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.7864, allocations: 8.094 kB / 0.6518 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.7886, allocations: 0.8492 MB / 0.6526 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.7892, allocations: 184.2 kB / 0.6528 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.7894, allocations: 8.875 kB / 0.6528 GB, free: 3.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.7902, allocations: 27.97 kB / 0.6528 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.7904, allocations: 40.02 kB / 0.6529 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.7905, allocations: 43.98 kB / 0.6529 GB, free: 3.621 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008946/0.7914, allocations: 431 kB / 0.6533 GB, free: 3.203 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7914, allocations: 3.938 kB / 0.6533 GB, free: 3.199 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00164/0.7931, allocations: 288 kB / 0.6536 GB, free: 2.918 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * 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: 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.001481/0.7946, allocations: 374.6 kB / 0.654 GB, free: 2.547 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.7967, allocations: 0.5346 MB / 0.6545 GB, free: 2.016 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.426e-05/0.7968, allocations: 4 kB / 0.6545 GB, free: 2.012 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.7985, allocations: 403 kB / 0.6549 GB, free: 1.605 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.8015, allocations: 341.2 kB / 0.6552 GB, free: 1.281 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.8053, allocations: 1.587 MB / 0.6567 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.8061, allocations: 0.9416 MB / 0.6577 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007212/0.8069, allocations: 115.4 kB / 0.6578 GB, free: 14.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.093e-06/0.8069, allocations: 0 / 0.6578 GB, free: 14.56 MB / 490.7 MB Notification: Performance of Templates: time 0.3457/1.153, allocations: 16.79 MB / 0.6742 GB, free: 147.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches