Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 95.91 kB / 17 MB, free: 5.949 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.0009183/0.0009183, allocations: 186.7 kB / 17.89 MB, free: 5.566 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.365/1.365, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.26 MB / 337.3 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003591, allocations: 9.219 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4862/0.6166, allocations: 159 MB / 0.6158 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.6276, allocations: 5.096 MB / 0.6208 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.6291, allocations: 23.81 kB / 0.6208 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.6304, allocations: 258.4 kB / 0.6211 GB, free: 14.67 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003936/0.6343, allocations: 1.077 MB / 0.6221 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.6366, allocations: 0.7546 MB / 0.6229 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002813/0.6394, allocations: 2.246 MB / 0.6251 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.6401, allocations: 373.6 kB / 0.6254 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.6422, allocations: 0.9029 MB / 0.6263 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009923/0.6432, allocations: 0.658 MB / 0.6269 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.6433, allocations: 32 kB / 0.627 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.6447, allocations: 459.4 kB / 0.6274 GB, free: 8.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.6451, allocations: 231.2 kB / 0.6276 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.6453, allocations: 165.4 kB / 0.6278 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.6465, allocations: 0.9256 MB / 0.6287 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6465, allocations: 0 / 0.6287 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6465, allocations: 3.938 kB / 0.6287 GB, free: 6.852 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.6465, allocations: 0 / 0.6287 GB, free: 6.852 MB / 462.1 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.002056/0.6486, allocations: 0.9588 MB / 0.6296 GB, free: 5.844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6486, allocations: 12.56 kB / 0.6296 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007634/0.6494, allocations: 131.1 kB / 0.6298 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.6502, allocations: 496.5 kB / 0.6302 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.6504, allocations: 108.3 kB / 0.6303 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.992e-05/0.6505, allocations: 47.94 kB / 0.6304 GB, free: 5.016 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.6518, allocations: 0.8213 MB / 0.6312 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.6518, allocations: 7.984 kB / 0.6312 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.6519, allocations: 23.98 kB / 0.6312 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.652, allocations: 36.98 kB / 0.6313 GB, free: 4.051 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.653, allocations: 0.6282 MB / 0.6319 GB, free: 3.426 MB / 462.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.004546/0.6576, allocations: 3.958 MB / 0.6357 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.6582, allocations: 355.6 kB / 0.6361 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.6584, allocations: 165.3 kB / 0.6362 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.6586, allocations: 97.33 kB / 0.6363 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.6586, allocations: 46.78 kB / 0.6364 GB, free: 14.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.764e-06/0.6586, allocations: 0 / 0.6364 GB, free: 14.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005138/0.6638, allocations: 1.65 MB / 0.638 GB, free: 12.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.6639, allocations: 140.5 kB / 0.6381 GB, free: 12.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/0.6646, allocations: 0.6055 MB / 0.6387 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.6647, allocations: 33.7 kB / 0.6387 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.6649, allocations: 374.8 kB / 0.6391 GB, free: 11.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.6651, allocations: 138.1 kB / 0.6392 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.6651, allocations: 12 kB / 0.6392 GB, free: 11.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6653, allocations: 374.8 kB / 0.6396 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.6657, allocations: 201.9 kB / 0.6398 GB, free: 10.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.6664, allocations: 0.5125 MB / 0.6403 GB, free: 10.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/0.6669, allocations: 288.6 kB / 0.6406 GB, free: 9.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.6669, allocations: 7.953 kB / 0.6406 GB, free: 9.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001705/0.6686, allocations: 0.8719 MB / 0.6414 GB, free: 9.055 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.6687, allocations: 12 kB / 0.6414 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.6687, allocations: 11.94 kB / 0.6414 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.6702, allocations: 331.7 kB / 0.6418 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.6706, allocations: 123.8 kB / 0.6419 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.6718, allocations: 0.9231 MB / 0.6428 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.6723, allocations: 51.97 kB / 0.6428 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/0.6725, allocations: 67.94 kB / 0.6429 GB, free: 7.52 MB / 478.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: 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.0003762/0.6728, allocations: 245.5 kB / 0.6431 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.673, allocations: 71.11 kB / 0.6432 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.6748, allocations: 0.8657 MB / 0.644 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.6748, allocations: 4 kB / 0.644 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6748, allocations: 7.875 kB / 0.6441 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.6748, allocations: 7.984 kB / 0.6441 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.6769, allocations: 1.442 MB / 0.6455 GB, free: 4.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6769, allocations: 8.031 kB / 0.6455 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.6779, allocations: 211.8 kB / 0.6457 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.763e-05/0.678, allocations: 20.84 kB / 0.6457 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.6781, allocations: 16 kB / 0.6457 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.6802, allocations: 2.695 MB / 0.6483 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6802, allocations: 8.016 kB / 0.6484 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.6815, allocations: 0.8092 MB / 0.6491 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.6818, allocations: 196.1 kB / 0.6493 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.682, allocations: 12 kB / 0.6493 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.6824, allocations: 28.05 kB / 0.6494 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.6825, allocations: 35.95 kB / 0.6494 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/0.6826, allocations: 47.98 kB / 0.6495 GB, free: 328 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006112/0.6832, allocations: 431 kB / 0.6499 GB, free: 15.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6832, allocations: 4 kB / 0.6499 GB, free: 15.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001066/0.6843, allocations: 255.9 kB / 0.6501 GB, free: 15.65 MB / 494.1 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 (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.0008537/0.6851, allocations: 286.1 kB / 0.6504 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.6863, allocations: 0.5537 MB / 0.6509 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6863, allocations: 4 kB / 0.6509 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009893/0.6873, allocations: 415.4 kB / 0.6513 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6889, allocations: 350 kB / 0.6517 GB, free: 14.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.6913, allocations: 1.565 MB / 0.6532 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.6918, allocations: 0.9338 MB / 0.6541 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001262/0.6931, allocations: 458.4 kB / 0.6545 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/0.6935, allocations: 119.4 kB / 0.6547 GB, free: 10.93 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6935, allocations: 0 / 0.6547 GB, free: 10.93 MB / 494.1 MB Notification: Performance of Templates: time 0.03/0.7235, allocations: 16.17 MB / 0.6704 GB, free: 10.91 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches