Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_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.00127/0.001271, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001121/0.001121, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.396/1.396, 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.1939/0.1939, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3533, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2031/0.5564, allocations: 150.1 MB / 0.6651 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007046/0.5635, allocations: 5.139 MB / 0.6701 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.5637, allocations: 0 / 0.6701 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.5641, allocations: 59.59 kB / 0.6702 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.5678, allocations: 1.205 MB / 0.6713 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.5681, allocations: 143.5 kB / 0.6715 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.5687, allocations: 390.1 kB / 0.6718 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.436e-05/0.5688, allocations: 17.69 kB / 0.6719 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.569, allocations: 167.4 kB / 0.672 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.5694, allocations: 167.4 kB / 0.6722 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.5694, allocations: 8 kB / 0.6722 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.5714, allocations: 1.018 MB / 0.6732 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.399e-05/0.5715, allocations: 43.77 kB / 0.6732 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.5716, allocations: 111.5 kB / 0.6733 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.5729, allocations: 0.8452 MB / 0.6742 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5729, allocations: 0 / 0.6742 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5729, allocations: 0 / 0.6742 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.573, allocations: 0 / 0.6742 GB, free: 12.09 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001345/0.5743, allocations: 0.6931 MB / 0.6748 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5744, allocations: 12.03 kB / 0.6748 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.5744, allocations: 58.73 kB / 0.6749 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007723/0.5822, allocations: 0.5937 MB / 0.6755 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.5827, allocations: 267.2 kB / 0.6757 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.5828, allocations: 127.4 kB / 0.6759 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.5829, allocations: 20 kB / 0.6759 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.5841, allocations: 0.5673 MB / 0.6764 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5841, allocations: 0 / 0.6764 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/0.5842, allocations: 12 kB / 0.6764 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.5843, allocations: 7.984 kB / 0.6764 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.5857, allocations: 0.6299 MB / 0.6771 GB, free: 8.953 MB / 0.5294 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.002253/0.588, allocations: 1.721 MB / 0.6787 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.5884, allocations: 150.5 kB / 0.6789 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.5885, allocations: 76.83 kB / 0.679 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.5892, allocations: 0.7006 MB / 0.6796 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.5892, allocations: 34.56 kB / 0.6797 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 4.809e-06/0.5893, allocations: 0 / 0.6797 GB, free: 6.004 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001033/0.5903, allocations: 325.4 kB / 0.68 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.5903, allocations: 51.41 kB / 0.68 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.5905, allocations: 191 kB / 0.6802 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.5906, allocations: 29.7 kB / 0.6802 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.5907, allocations: 199.7 kB / 0.6804 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.5907, allocations: 71.41 kB / 0.6805 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.5909, allocations: 94.02 kB / 0.6806 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.591, allocations: 330.8 kB / 0.6809 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5911, allocations: 64.72 kB / 0.681 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.5914, allocations: 267.8 kB / 0.6812 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.5918, allocations: 370.1 kB / 0.6816 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5919, allocations: 0 / 0.6816 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006024/0.5925, allocations: 376 kB / 0.6819 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5925, allocations: 11.94 kB / 0.682 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5925, allocations: 4 kB / 0.682 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5925, allocations: 12 kB / 0.682 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.5929, allocations: 123.8 kB / 0.6821 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003503/0.5933, allocations: 0.6019 MB / 0.6827 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.5936, allocations: 51.62 kB / 0.6827 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.5936, allocations: 39.98 kB / 0.6828 GB, free: 2.578 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001399/0.5938, allocations: 149.6 kB / 0.6829 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.5938, allocations: 19.91 kB / 0.6829 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007613/0.5946, allocations: 437 kB / 0.6833 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5946, allocations: 8 kB / 0.6833 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.5946, allocations: 0 / 0.6833 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5946, allocations: 0 / 0.6833 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/0.5955, allocations: 0.6306 MB / 0.684 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5955, allocations: 0 / 0.684 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.5957, allocations: 63.89 kB / 0.684 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.5957, allocations: 4 kB / 0.684 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.5957, allocations: 15.88 kB / 0.684 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002966/0.596, allocations: 0.5899 MB / 0.6846 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5961, allocations: 4.031 kB / 0.6846 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.5964, allocations: 297.4 kB / 0.6849 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5965, allocations: 109 kB / 0.685 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.5966, allocations: 4 kB / 0.685 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.5968, allocations: 11.98 kB / 0.685 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.5969, allocations: 23.86 kB / 0.685 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.5969, allocations: 19.98 kB / 0.6851 GB, free: 16 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001469/0.5971, allocations: 140.2 kB / 0.6852 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5971, allocations: 4 kB / 0.6852 GB, free: 15.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006442/0.5977, allocations: 151.7 kB / 0.6853 GB, free: 15.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001123/0.5989, allocations: 0.9638 MB / 0.6863 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005288/0.5994, allocations: 224.1 kB / 0.6865 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5994, allocations: 4 kB / 0.6865 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.5996, allocations: 85.27 kB / 0.6866 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.6002, allocations: 68.36 kB / 0.6867 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.6037, allocations: 2.854 MB / 0.6894 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.604, allocations: 0.7245 MB / 0.6901 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006664/0.6047, allocations: 381 kB / 0.6905 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.6049, allocations: 95.36 kB / 0.6906 GB, free: 9.984 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.6049, allocations: 0 / 0.6906 GB, free: 9.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.6364, allocations: 7.405 MB / 0.6978 GB, free: 2.727 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.73, allocations: 7.766 kB / 0.6978 GB, free: 2.723 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches