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.001567/0.001567, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001723/0.001723, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2371/0.2371, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.08 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1807/0.4919, allocations: 174.4 MB / 0.6892 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007697/0.4996, allocations: 5.338 MB / 0.6944 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006015/0.5002, allocations: 19.88 kB / 0.6944 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009335/0.5013, allocations: 314 kB / 0.6947 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.5047, allocations: 1.245 MB / 0.6959 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.5072, allocations: 0.9618 MB / 0.6969 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002226/0.5094, allocations: 1.844 MB / 0.6987 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006758/0.5101, allocations: 457.3 kB / 0.6991 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.5123, allocations: 1.082 MB / 0.7002 GB, free: 1.785 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008892/0.5132, allocations: 0.6539 MB / 0.7008 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.5134, allocations: 64 kB / 0.7009 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.5148, allocations: 0.6203 MB / 0.7015 GB, free: 456 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.5151, allocations: 263.3 kB / 0.7017 GB, free: 192 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.5155, allocations: 394.2 kB / 0.7021 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.5171, allocations: 1.301 MB / 0.7034 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5171, allocations: 4 kB / 0.7034 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5171, allocations: 0 / 0.7034 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.5172, allocations: 0 / 0.7034 GB, free: 14.49 MB / 0.5606 GB 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.002149/0.5193, allocations: 1.106 MB / 0.7045 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5194, allocations: 8.031 kB / 0.7045 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.5202, allocations: 135.1 kB / 0.7046 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.5211, allocations: 0.5352 MB / 0.7051 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.5213, allocations: 104.4 kB / 0.7052 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.5214, allocations: 51.98 kB / 0.7053 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.5226, allocations: 0.8135 MB / 0.7061 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5227, allocations: 0 / 0.7061 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.5228, allocations: 24 kB / 0.7061 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/0.5228, allocations: 40.92 kB / 0.7061 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.5239, allocations: 0.6204 MB / 0.7067 GB, free: 10.88 MB / 0.5606 GB 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.004611/0.5285, allocations: 3.965 MB / 0.7106 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.5291, allocations: 359.5 kB / 0.7109 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.5294, allocations: 177.3 kB / 0.7111 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.5295, allocations: 89.38 kB / 0.7112 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.5295, allocations: 42.84 kB / 0.7112 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.5295, allocations: 0 / 0.7112 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00579/0.5353, allocations: 1.664 MB / 0.7129 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.5354, allocations: 136.5 kB / 0.713 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.5361, allocations: 0.6094 MB / 0.7136 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.5361, allocations: 33.7 kB / 0.7136 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.5364, allocations: 370.8 kB / 0.714 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.5365, allocations: 146 kB / 0.7141 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.5367, allocations: 162.5 kB / 0.7143 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5369, allocations: 374.8 kB / 0.7146 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.5372, allocations: 197.9 kB / 0.7148 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.5378, allocations: 0.5125 MB / 0.7153 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/0.5387, allocations: 0.7552 MB / 0.7161 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5388, allocations: 11.94 kB / 0.7161 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2616/0.8003, allocations: 0.8696 MB / 0.7169 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.8004, allocations: 9.969 kB / 0.7169 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.8004, allocations: 10.12 kB / 0.7169 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.802, allocations: 318.1 kB / 0.7172 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.8026, allocations: 120.6 kB / 0.7174 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.8038, allocations: 0.9332 MB / 0.7183 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.8044, allocations: 28.44 kB / 0.7183 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.8045, allocations: 67.16 kB / 0.7184 GB, free: 189.2 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005165/0.805, allocations: 249.3 kB / 0.7186 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.8052, allocations: 66.75 kB / 0.7187 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.8071, allocations: 0.8642 MB / 0.7195 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.8071, allocations: 2.812 kB / 0.7195 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.8071, allocations: 2.156 kB / 0.7195 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.8071, allocations: 1.969 kB / 0.7195 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.8092, allocations: 1.456 MB / 0.7209 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.8092, allocations: 2.875 kB / 0.7209 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.8104, allocations: 210.5 kB / 0.7211 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.8105, allocations: 24.48 kB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.8105, allocations: 20.98 kB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.8122, allocations: 2.887 MB / 0.724 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.8122, allocations: 1.812 kB / 0.724 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.8134, allocations: 0.8271 MB / 0.7248 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.8137, allocations: 190.3 kB / 0.725 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.8138, allocations: 13.2 kB / 0.725 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.8142, allocations: 16.61 kB / 0.725 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.8144, allocations: 43.12 kB / 0.7251 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/0.8145, allocations: 44.45 kB / 0.7251 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006379/0.8151, allocations: 440.2 kB / 0.7255 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8151, allocations: 1.406 kB / 0.7255 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001081/0.8162, allocations: 250.4 kB / 0.7258 GB, free: 184.2 MB / 0.5606 GB 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 (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008183/0.817, allocations: 292.2 kB / 0.726 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.8183, allocations: 0.555 MB / 0.7266 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8183, allocations: 8.906 kB / 0.7266 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009717/0.8193, allocations: 424.6 kB / 0.727 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.8209, allocations: 373.3 kB / 0.7274 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.8232, allocations: 1.329 MB / 0.7287 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.8236, allocations: 0.9256 MB / 0.7296 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001098/0.8247, allocations: 471.7 kB / 0.73 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.8251, allocations: 111.3 kB / 0.7301 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.8251, allocations: 0 / 0.7301 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.0297/0.8548, allocations: 17.57 MB / 0.7473 GB, free: 170 MB / 0.5606 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