Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,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.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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001494, allocations: 182.5 kB / 16.4 MB, free: 5.75 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.067/2.067, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.001131/0.001131, allocations: 104.4 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.5123/0.5123, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004828, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5174/0.6475, allocations: 125.4 MB / 0.6012 GB, free: 8.941 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.6591, allocations: 4.879 MB / 0.6059 GB, free: 4.547 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.6602, allocations: 23.81 kB / 0.606 GB, free: 4.523 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.6618, allocations: 281.8 kB / 0.6062 GB, free: 4.258 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.6652, allocations: 0.7104 MB / 0.6069 GB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.6691, allocations: 0.8052 MB / 0.6077 GB, free: 2.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002631/0.6717, allocations: 1.028 MB / 0.6087 GB, free: 1.719 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.6728, allocations: 388.9 kB / 0.6091 GB, free: 1.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.6747, allocations: 0.5608 MB / 0.6096 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.6762, allocations: 490.4 kB / 0.6101 GB, free: 304 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.6764, allocations: 32 kB / 0.6101 GB, free: 272 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.6783, allocations: 435.3 kB / 0.6105 GB, free: 15.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.6789, allocations: 211.4 kB / 0.6107 GB, free: 15.63 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.6793, allocations: 169.3 kB / 0.6109 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.6812, allocations: 0.7999 MB / 0.6117 GB, free: 14.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6812, allocations: 3.938 kB / 0.6117 GB, free: 14.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6813, allocations: 0 / 0.6117 GB, free: 14.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.6813, allocations: 0 / 0.6117 GB, free: 14.66 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00297/0.6843, allocations: 0.9192 MB / 0.6126 GB, free: 13.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.6843, allocations: 19.95 kB / 0.6126 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.6849, allocations: 87.11 kB / 0.6127 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6863, allocations: 0.4966 MB / 0.6132 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.6865, allocations: 104.4 kB / 0.6133 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.6866, allocations: 48 kB / 0.6133 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.6888, allocations: 0.8071 MB / 0.6141 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.6888, allocations: 7.891 kB / 0.6141 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.689, allocations: 20.5 kB / 0.6141 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.483e-05/0.6891, allocations: 40.98 kB / 0.6142 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.691, allocations: 0.644 MB / 0.6148 GB, free: 11.3 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.007751/0.6988, allocations: 3.993 MB / 0.6187 GB, free: 7.031 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.7003, allocations: 429.8 kB / 0.6191 GB, free: 6.605 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/0.7012, allocations: 0.7405 MB / 0.6198 GB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.7012, allocations: 38.89 kB / 0.6199 GB, free: 5.652 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.647e-06/0.7012, allocations: 0 / 0.6199 GB, free: 5.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.005597/0.7069, allocations: 1.535 MB / 0.6214 GB, free: 4.047 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.707, allocations: 132.5 kB / 0.6215 GB, free: 3.887 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.7081, allocations: 0.5615 MB / 0.622 GB, free: 3.316 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.7083, allocations: 37.7 kB / 0.6221 GB, free: 3.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.7087, allocations: 381.5 kB / 0.6224 GB, free: 2.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.709, allocations: 169.6 kB / 0.6226 GB, free: 2.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.7091, allocations: 16 kB / 0.6226 GB, free: 2.715 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.7093, allocations: 342.8 kB / 0.623 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.71, allocations: 213.9 kB / 0.6232 GB, free: 2.164 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.711, allocations: 0.5045 MB / 0.6236 GB, free: 1.523 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/0.712, allocations: 312.6 kB / 0.6239 GB, free: 1.219 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.712, allocations: 3.938 kB / 0.624 GB, free: 1.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003236/0.7153, allocations: 0.8648 MB / 0.6248 GB, free: 348 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.7154, allocations: 8 kB / 0.6248 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.7154, allocations: 16.05 kB / 0.6248 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.7179, allocations: 296.5 kB / 0.6251 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.7188, allocations: 123.8 kB / 0.6252 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.7206, allocations: 0.884 MB / 0.6261 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009561/0.7216, allocations: 39.98 kB / 0.6261 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7217, allocations: 37.86 kB / 0.6262 GB, free: 14.92 MB / 458.7 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.000594/0.7223, allocations: 253.5 kB / 0.6264 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.7225, allocations: 75.03 kB / 0.6265 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.7247, allocations: 0.7682 MB / 0.6272 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.7248, allocations: 4 kB / 0.6272 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.7248, allocations: 0 / 0.6272 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7249, allocations: 7.984 kB / 0.6272 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.7285, allocations: 1.411 MB / 0.6286 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.7285, allocations: 7.953 kB / 0.6286 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/0.7307, allocations: 211.9 kB / 0.6288 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.7309, allocations: 24.84 kB / 0.6288 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/0.731, allocations: 8 kB / 0.6289 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.7341, allocations: 2.695 MB / 0.6315 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7342, allocations: 0 / 0.6315 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.7369, allocations: 1.072 MB / 0.6325 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/0.7375, allocations: 212.2 kB / 0.6327 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.7377, allocations: 12 kB / 0.6327 GB, free: 7.664 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/0.7385, allocations: 35.91 kB / 0.6328 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.7387, allocations: 39.97 kB / 0.6328 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/0.7388, allocations: 19.98 kB / 0.6328 GB, free: 7.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008226/0.7397, allocations: 407 kB / 0.6332 GB, free: 7.176 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7397, allocations: 0 / 0.6332 GB, free: 7.176 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001392/0.7411, allocations: 220 kB / 0.6334 GB, free: 6.961 MB / 458.7 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.0008158/0.7419, allocations: 251.2 kB / 0.6337 GB, free: 6.711 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00231/0.7443, allocations: 0.5948 MB / 0.6343 GB, free: 6.113 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.7443, allocations: 384 / 0.6343 GB, free: 6.113 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.7463, allocations: 446.2 kB / 0.6347 GB, free: 5.664 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.7492, allocations: 332.1 kB / 0.635 GB, free: 5.348 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.7533, allocations: 1.657 MB / 0.6366 GB, free: 3.645 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/0.7541, allocations: 0.9464 MB / 0.6375 GB, free: 2.672 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.7546, allocations: 75.41 kB / 0.6376 GB, free: 2.598 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/0.7546, allocations: 0 / 0.6376 GB, free: 2.598 MB / 458.7 MB Notification: Performance of Templates: time 0.03577/0.7903, allocations: 15.15 MB / 0.6524 GB, free: 3.473 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches