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.001336/0.001336, allocations: 108.3 kB / 16.41 MB, free: 6.5 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.001326/0.001327, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2154/0.2154, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.002033/0.002033, allocations: 63.91 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1095, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4578/0.5673, allocations: 179.7 MB / 0.6629 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01167/0.579, allocations: 8.174 MB / 0.6709 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008073/0.5799, allocations: 19.88 kB / 0.6709 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.581, allocations: 310 kB / 0.6712 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.5852, allocations: 1.489 MB / 0.6727 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.5881, allocations: 1.148 MB / 0.6738 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.5905, allocations: 1.841 MB / 0.6756 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006917/0.5912, allocations: 461.1 kB / 0.676 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.5938, allocations: 1.23 MB / 0.6772 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009948/0.5948, allocations: 0.6578 MB / 0.6779 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.5949, allocations: 67.94 kB / 0.6779 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.5967, allocations: 0.8309 MB / 0.6787 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.5971, allocations: 259.2 kB / 0.679 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.5975, allocations: 394.2 kB / 0.6794 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.5998, allocations: 1.429 MB / 0.6808 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5998, allocations: 3.938 kB / 0.6808 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5998, allocations: 0 / 0.6808 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.5999, allocations: 0 / 0.6808 GB, free: 4.754 MB / 0.5137 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.002455/0.6023, allocations: 1.156 MB / 0.6819 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.6024, allocations: 15.89 kB / 0.6819 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.6025, allocations: 94.52 kB / 0.682 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.6033, allocations: 139.5 kB / 0.6821 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/0.6042, allocations: 0.5474 MB / 0.6827 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.6044, allocations: 96.41 kB / 0.6828 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/0.6045, allocations: 51.97 kB / 0.6828 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6058, allocations: 0.8135 MB / 0.6836 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.6058, allocations: 4 kB / 0.6836 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.6059, allocations: 24 kB / 0.6836 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.606, allocations: 40.92 kB / 0.6837 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.6071, allocations: 0.6166 MB / 0.6843 GB, free: 0.9766 MB / 0.5137 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.004991/0.6121, allocations: 3.989 MB / 0.6882 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.6127, allocations: 355.1 kB / 0.6885 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.613, allocations: 172.8 kB / 0.6887 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.6135, allocations: 377.3 kB / 0.689 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.6136, allocations: 38.84 kB / 0.6891 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.344e-06/0.6136, allocations: 0 / 0.6891 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.006005/0.6196, allocations: 1.668 MB / 0.6907 GB, free: 10 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.6198, allocations: 136.5 kB / 0.6908 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008987/0.6207, allocations: 0.6172 MB / 0.6914 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.6208, allocations: 41.69 kB / 0.6915 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.6211, allocations: 367.9 kB / 0.6918 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.6212, allocations: 142.8 kB / 0.692 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.6215, allocations: 162.6 kB / 0.6921 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.6217, allocations: 374.8 kB / 0.6925 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.6221, allocations: 201.9 kB / 0.6927 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.6227, allocations: 0.5125 MB / 0.6932 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.6239, allocations: 0.7563 MB / 0.6939 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6239, allocations: 7.938 kB / 0.6939 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001647/0.6255, allocations: 0.8765 MB / 0.6948 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.6256, allocations: 12 kB / 0.6948 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.6256, allocations: 12.86 kB / 0.6948 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.627, allocations: 309.1 kB / 0.6951 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.6275, allocations: 128.5 kB / 0.6952 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.6287, allocations: 0.9309 MB / 0.6961 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/0.6293, allocations: 31.98 kB / 0.6961 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/0.6294, allocations: 67.98 kB / 0.6962 GB, free: 3.969 MB / 0.5294 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.0004274/0.6298, allocations: 241.5 kB / 0.6964 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.6299, allocations: 79.58 kB / 0.6965 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.6314, allocations: 0.6841 MB / 0.6972 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6314, allocations: 4 kB / 0.6972 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6314, allocations: 0 / 0.6972 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6314, allocations: 3.984 kB / 0.6972 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.6339, allocations: 1.611 MB / 0.6988 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6339, allocations: 0 / 0.6988 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6349, allocations: 215.9 kB / 0.699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.369e-05/0.635, allocations: 16.84 kB / 0.699 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.6351, allocations: 20 kB / 0.699 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.6376, allocations: 2.881 MB / 0.7018 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.6376, allocations: 4.031 kB / 0.7018 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.639, allocations: 0.813 MB / 0.7026 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.6393, allocations: 192.6 kB / 0.7028 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.6394, allocations: 8 kB / 0.7028 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.6398, allocations: 23.98 kB / 0.7028 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.6399, allocations: 40.02 kB / 0.7029 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.64, allocations: 43.92 kB / 0.7029 GB, free: 12.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006165/0.6406, allocations: 443 kB / 0.7033 GB, free: 12.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6406, allocations: 0 / 0.7033 GB, free: 12.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001018/0.6417, allocations: 295.6 kB / 0.7036 GB, free: 11.88 MB / 0.545 GB 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.002628/0.6443, allocations: 1.61 MB / 0.7052 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.6456, allocations: 0.5628 MB / 0.7057 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/0.6457, allocations: 0 / 0.7057 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6467, allocations: 414.3 kB / 0.7061 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.6485, allocations: 370.1 kB / 0.7065 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009391/0.6579, allocations: 6.315 MB / 0.7127 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.6585, allocations: 0.93 MB / 0.7136 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009134/0.6595, allocations: 266 kB / 0.7138 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.6599, allocations: 275.3 kB / 0.7141 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.6599, allocations: 0 / 0.7141 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/0.7248, allocations: 25.4 MB / 0.7389 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.65, allocations: 7.953 kB / 0.7389 GB, free: 7.254 MB / 0.5762 GB (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