Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001537, allocations: 99.28 kB / 16.27 MB, free: 5.953 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.001535/0.001535, allocations: 188.9 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2185/0.2185, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 64.84 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1295, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4554/0.5849, allocations: 179.7 MB / 0.6058 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009248/0.5942, allocations: 8.179 MB / 0.6138 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007551/0.595, allocations: 21.47 kB / 0.6138 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.5961, allocations: 319.2 kB / 0.6141 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.6003, allocations: 1.477 MB / 0.6155 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.6034, allocations: 1.148 MB / 0.6167 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.6058, allocations: 1.852 MB / 0.6185 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009114/0.6067, allocations: 461.9 kB / 0.6189 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.6096, allocations: 1.229 MB / 0.6201 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.6108, allocations: 0.6557 MB / 0.6208 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.6111, allocations: 64.3 kB / 0.6208 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.6129, allocations: 0.7417 MB / 0.6215 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.6132, allocations: 262.2 kB / 0.6218 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.6139, allocations: 398.1 kB / 0.6222 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.6162, allocations: 1.41 MB / 0.6235 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6163, allocations: 0 / 0.6235 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6163, allocations: 4 kB / 0.6235 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.092e-05/0.6163, allocations: 0 / 0.6235 GB, free: 13.43 MB / 446.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.003326/0.6197, allocations: 1.134 MB / 0.6247 GB, free: 12.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6197, allocations: 11.89 kB / 0.6247 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.6199, allocations: 98.45 kB / 0.6248 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009606/0.6209, allocations: 135.1 kB / 0.6249 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.6218, allocations: 0.5118 MB / 0.6254 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.6219, allocations: 100.4 kB / 0.6255 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.622, allocations: 51.98 kB / 0.6255 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.6234, allocations: 0.8136 MB / 0.6263 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.6234, allocations: 3.938 kB / 0.6263 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.6235, allocations: 27.98 kB / 0.6264 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/0.6236, allocations: 40.97 kB / 0.6264 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.6246, allocations: 0.6243 MB / 0.627 GB, free: 9.703 MB / 446.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.004666/0.6293, allocations: 3.982 MB / 0.6309 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.6299, allocations: 356.8 kB / 0.6312 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.6302, allocations: 169.3 kB / 0.6314 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/0.6307, allocations: 361.5 kB / 0.6317 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.6307, allocations: 34.84 kB / 0.6318 GB, free: 4.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.365e-06/0.6307, allocations: 0 / 0.6318 GB, free: 4.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005922/0.6366, allocations: 1.676 MB / 0.6334 GB, free: 2.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.6367, allocations: 136.5 kB / 0.6335 GB, free: 2.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/0.6375, allocations: 0.6132 MB / 0.6341 GB, free: 1.961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.6376, allocations: 41.7 kB / 0.6342 GB, free: 1.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.6379, allocations: 359 kB / 0.6345 GB, free: 1.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.638, allocations: 149.9 kB / 0.6347 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.6382, allocations: 158.5 kB / 0.6348 GB, free: 1.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6384, allocations: 378.8 kB / 0.6352 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.6388, allocations: 201.9 kB / 0.6354 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.6393, allocations: 0.5125 MB / 0.6359 GB, free: 16 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/0.6403, allocations: 0.7487 MB / 0.6366 GB, free: 15.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6403, allocations: 4 kB / 0.6366 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001486/0.6418, allocations: 0.8755 MB / 0.6375 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.6418, allocations: 8.938 kB / 0.6375 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6419, allocations: 15.94 kB / 0.6375 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.6433, allocations: 319.6 kB / 0.6378 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.6437, allocations: 127.7 kB / 0.6379 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.6449, allocations: 0.9308 MB / 0.6388 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.6455, allocations: 31.98 kB / 0.6389 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/0.6456, allocations: 60 kB / 0.6389 GB, free: 12.73 MB / 462.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 (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.0003644/0.646, allocations: 254.3 kB / 0.6392 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6461, allocations: 67.25 kB / 0.6392 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.6476, allocations: 0.6784 MB / 0.6399 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6477, allocations: 4 kB / 0.6399 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6477, allocations: 3.938 kB / 0.6399 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.6477, allocations: 3.984 kB / 0.6399 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.65, allocations: 1.61 MB / 0.6415 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.65, allocations: 0 / 0.6415 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.6511, allocations: 207.9 kB / 0.6417 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.484e-05/0.6512, allocations: 20.84 kB / 0.6417 GB, free: 9.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.6512, allocations: 23.98 kB / 0.6417 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.6533, allocations: 2.881 MB / 0.6445 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6533, allocations: 3.984 kB / 0.6445 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.6546, allocations: 0.8034 MB / 0.6453 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.6549, allocations: 192.2 kB / 0.6455 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.6551, allocations: 8 kB / 0.6455 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.6555, allocations: 20.05 kB / 0.6455 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.6556, allocations: 39.95 kB / 0.6456 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.6557, allocations: 47.92 kB / 0.6456 GB, free: 5.371 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005612/0.6563, allocations: 439 kB / 0.646 GB, free: 4.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6563, allocations: 0 / 0.646 GB, free: 4.945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00104/0.6573, allocations: 291.9 kB / 0.6463 GB, free: 4.66 MB / 462.1 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 (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.002374/0.6597, allocations: 1.614 MB / 0.6479 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.6611, allocations: 0.6134 MB / 0.6485 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.6611, allocations: 3.859 kB / 0.6485 GB, free: 2.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.6621, allocations: 411.2 kB / 0.6489 GB, free: 1.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.6648, allocations: 369.6 kB / 0.6492 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.6803, allocations: 6.517 MB / 0.6556 GB, free: 10.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.6812, allocations: 0.9339 MB / 0.6565 GB, free: 9.758 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002164/0.6834, allocations: 262 kB / 0.6567 GB, free: 9.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/0.6842, allocations: 271.3 kB / 0.657 GB, free: 9.234 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6843, allocations: 3.938 kB / 0.657 GB, free: 9.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08154/0.7658, allocations: 25.15 MB / 0.6816 GB, free: 76 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.88, allocations: 15.64 kB / 0.6816 GB, free: 60 kB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches