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.001424/0.001424, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001604/0.001603, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.423/1.423, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2135/0.2135, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 60.28 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1186, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4393/0.5579, allocations: 150.1 MB / 0.605 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.5645, allocations: 5.147 MB / 0.61 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.5648, allocations: 7.938 kB / 0.61 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.5653, allocations: 55.67 kB / 0.61 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.5693, allocations: 1.202 MB / 0.6112 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.5697, allocations: 146.3 kB / 0.6114 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.5703, allocations: 390.2 kB / 0.6117 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.5704, allocations: 13.69 kB / 0.6117 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.5709, allocations: 167.3 kB / 0.6119 GB, free: 3.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.5713, allocations: 167.5 kB / 0.6121 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.5713, allocations: 8 kB / 0.6121 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.5735, allocations: 0.9792 MB / 0.613 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5736, allocations: 43.83 kB / 0.6131 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.5738, allocations: 111.5 kB / 0.6132 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.5758, allocations: 0.842 MB / 0.614 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5758, allocations: 0 / 0.614 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5758, allocations: 0 / 0.614 GB, free: 1.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.5758, allocations: 0 / 0.614 GB, free: 1.191 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001775/0.5776, allocations: 0.6902 MB / 0.6147 GB, free: 468 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5777, allocations: 8.031 kB / 0.6147 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.5778, allocations: 66.67 kB / 0.6147 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008175/0.5859, allocations: 0.5897 MB / 0.6153 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.5865, allocations: 259.5 kB / 0.6156 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.5866, allocations: 123.4 kB / 0.6157 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.5868, allocations: 27.98 kB / 0.6157 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.5882, allocations: 0.5673 MB / 0.6163 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.5882, allocations: 3.938 kB / 0.6163 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/0.5883, allocations: 12 kB / 0.6163 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.5883, allocations: 8 kB / 0.6163 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.5898, allocations: 0.6299 MB / 0.6169 GB, free: 14.06 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.002434/0.5923, allocations: 1.703 MB / 0.6186 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.5927, allocations: 162.5 kB / 0.6187 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.5928, allocations: 80.81 kB / 0.6188 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.5936, allocations: 0.6964 MB / 0.6195 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.5936, allocations: 34.55 kB / 0.6195 GB, free: 11.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.597e-06/0.5936, allocations: 4 kB / 0.6195 GB, free: 11.11 MB / 462.1 MB 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.001099/0.5947, allocations: 322.6 kB / 0.6198 GB, free: 10.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5948, allocations: 59.34 kB / 0.6199 GB, free: 10.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.595, allocations: 202.9 kB / 0.6201 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.595, allocations: 29.7 kB / 0.6201 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.5952, allocations: 175.3 kB / 0.6203 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.5952, allocations: 71.08 kB / 0.6203 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.5954, allocations: 97.95 kB / 0.6204 GB, free: 10.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5955, allocations: 326.8 kB / 0.6207 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.5957, allocations: 64.7 kB / 0.6208 GB, free: 9.742 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.596, allocations: 263.8 kB / 0.621 GB, free: 9.391 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.5966, allocations: 370.2 kB / 0.6214 GB, free: 8.934 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.5966, allocations: 4 kB / 0.6214 GB, free: 8.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006845/0.5973, allocations: 368.7 kB / 0.6218 GB, free: 8.562 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5973, allocations: 8.938 kB / 0.6218 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5974, allocations: 8 kB / 0.6218 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.5974, allocations: 11.94 kB / 0.6218 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.5978, allocations: 127.8 kB / 0.6219 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004662/0.5983, allocations: 0.6016 MB / 0.6225 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.5986, allocations: 43.53 kB / 0.6225 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.5987, allocations: 43.98 kB / 0.6226 GB, free: 7.699 MB / 462.1 MB 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.0001978/0.5989, allocations: 149.7 kB / 0.6227 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.599, allocations: 19.81 kB / 0.6227 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.6001, allocations: 438.9 kB / 0.6232 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.6001, allocations: 0 / 0.6232 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6001, allocations: 3.25 kB / 0.6232 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6001, allocations: 0 / 0.6232 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009503/0.6011, allocations: 0.6343 MB / 0.6238 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6011, allocations: 0 / 0.6238 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.6013, allocations: 55.95 kB / 0.6238 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.6014, allocations: 4 kB / 0.6238 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.6014, allocations: 8.219 kB / 0.6238 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/0.6018, allocations: 0.6015 MB / 0.6244 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6018, allocations: 4.031 kB / 0.6244 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.6022, allocations: 292.4 kB / 0.6247 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.6024, allocations: 112.8 kB / 0.6248 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.6024, allocations: 7.938 kB / 0.6248 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.6027, allocations: 11.98 kB / 0.6248 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.6027, allocations: 15.98 kB / 0.6249 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.6028, allocations: 27.92 kB / 0.6249 GB, free: 5.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.6029, allocations: 140.1 kB / 0.625 GB, free: 5.012 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6029, allocations: 4 kB / 0.625 GB, free: 5.008 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007691/0.6037, allocations: 152 kB / 0.6252 GB, free: 4.859 MB / 462.1 MB 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.001645/0.6054, allocations: 0.9634 MB / 0.6261 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.606, allocations: 221.3 kB / 0.6263 GB, free: 3.645 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.606, allocations: 4.062 kB / 0.6263 GB, free: 3.641 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.6063, allocations: 83.89 kB / 0.6264 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.6069, allocations: 62.98 kB / 0.6265 GB, free: 3.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.6109, allocations: 2.833 MB / 0.6292 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.6113, allocations: 0.7285 MB / 0.6299 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009165/0.6122, allocations: 390.8 kB / 0.6303 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.6125, allocations: 87.38 kB / 0.6304 GB, free: 15.14 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6125, allocations: 0 / 0.6304 GB, free: 15.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.6435, allocations: 7.302 MB / 0.6375 GB, free: 7.977 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.1, allocations: 10.69 kB / 0.6375 GB, free: 7.973 MB / 478.1 MB (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