Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_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.00112/0.00112, allocations: 109 kB / 16.41 MB, free: 6.508 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.001105/0.001105, allocations: 189.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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2146/0.2146, allocations: 43.53 MB / 314.1 MB, free: 464 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.001543/0.001543, allocations: 73.47 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 57.78 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4362/0.5494, allocations: 151.4 MB / 0.6353 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009048/0.5585, allocations: 6.979 MB / 0.6421 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.5587, allocations: 3.938 kB / 0.6421 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.5591, allocations: 55.61 kB / 0.6421 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.5634, allocations: 1.436 MB / 0.6435 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.5637, allocations: 147.7 kB / 0.6437 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.5643, allocations: 390.2 kB / 0.644 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.5644, allocations: 13.69 kB / 0.6441 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.5647, allocations: 175.3 kB / 0.6442 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.565, allocations: 159.5 kB / 0.6444 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.5651, allocations: 8 kB / 0.6444 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.5677, allocations: 1.237 MB / 0.6456 GB, free: 8.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.5678, allocations: 51.77 kB / 0.6456 GB, free: 8.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.568, allocations: 111.5 kB / 0.6457 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5696, allocations: 0.9659 MB / 0.6467 GB, free: 7.738 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5696, allocations: 0 / 0.6467 GB, free: 7.738 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5696, allocations: 0 / 0.6467 GB, free: 7.738 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.5696, allocations: 0 / 0.6467 GB, free: 7.738 MB / 494.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.001416/0.5711, allocations: 0.7391 MB / 0.6474 GB, free: 6.953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5711, allocations: 11.89 kB / 0.6474 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.605e-05/0.5712, allocations: 62.72 kB / 0.6475 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007439/0.5787, allocations: 0.5942 MB / 0.6481 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/0.5793, allocations: 256.1 kB / 0.6483 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.5795, allocations: 131.3 kB / 0.6484 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.5796, allocations: 24 kB / 0.6485 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.5808, allocations: 0.5594 MB / 0.649 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5808, allocations: 0 / 0.649 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.5809, allocations: 12 kB / 0.649 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.5809, allocations: 4 kB / 0.649 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.5823, allocations: 0.6338 MB / 0.6496 GB, free: 4.566 MB / 494.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.002065/0.5844, allocations: 1.649 MB / 0.6512 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.5847, allocations: 154.5 kB / 0.6514 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.5848, allocations: 76.88 kB / 0.6515 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.5861, allocations: 1.307 MB / 0.6527 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.5861, allocations: 34.56 kB / 0.6528 GB, free: 1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.5861, allocations: 3.938 kB / 0.6528 GB, free: 0.9961 MB / 494.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=18): time 0.001017/0.5872, allocations: 336.2 kB / 0.6531 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.5872, allocations: 55.41 kB / 0.6531 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.5874, allocations: 191.3 kB / 0.6533 GB, free: 408 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.5874, allocations: 25.7 kB / 0.6534 GB, free: 376 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.5875, allocations: 199.7 kB / 0.6535 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.5876, allocations: 67.42 kB / 0.6536 GB, free: 104 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.5877, allocations: 90.02 kB / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5878, allocations: 330.8 kB / 0.654 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.588, allocations: 64.7 kB / 0.6541 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.5882, allocations: 268.3 kB / 0.6543 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.5887, allocations: 367.7 kB / 0.6547 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5887, allocations: 4 kB / 0.6547 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005532/0.5892, allocations: 368.8 kB / 0.655 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/0.5893, allocations: 8 kB / 0.655 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5893, allocations: 11.19 kB / 0.6551 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.5894, allocations: 11.94 kB / 0.6551 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.5897, allocations: 128.5 kB / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003414/0.5901, allocations: 0.5977 MB / 0.6558 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.5903, allocations: 51.61 kB / 0.6558 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.5904, allocations: 43.98 kB / 0.6559 GB, free: 13.57 MB / 0.4981 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.0001459/0.5905, allocations: 149.5 kB / 0.656 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.5906, allocations: 27.89 kB / 0.656 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005971/0.5912, allocations: 293.8 kB / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5912, allocations: 0 / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5912, allocations: 5.062 kB / 0.6563 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5913, allocations: 0 / 0.6563 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006684/0.5919, allocations: 0.5152 MB / 0.6568 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.5919, allocations: 4 kB / 0.6568 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.5922, allocations: 51.97 kB / 0.6569 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.5922, allocations: 4 kB / 0.6569 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.5922, allocations: 12.11 kB / 0.6569 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003196/0.5925, allocations: 0.5985 MB / 0.6575 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5926, allocations: 0 / 0.6575 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.5929, allocations: 278.8 kB / 0.6577 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.593, allocations: 108.9 kB / 0.6578 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.5931, allocations: 7.984 kB / 0.6579 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.5933, allocations: 12.88 kB / 0.6579 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5933, allocations: 15.92 kB / 0.6579 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.5934, allocations: 15.98 kB / 0.6579 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001175/0.5935, allocations: 144.2 kB / 0.658 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5935, allocations: 0 / 0.658 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007108/0.5942, allocations: 183.7 kB / 0.6582 GB, free: 11.01 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001203/0.5954, allocations: 1.038 MB / 0.6592 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.5959, allocations: 220.3 kB / 0.6594 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.5959, allocations: 0 / 0.6594 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.5961, allocations: 83.83 kB / 0.6595 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.5967, allocations: 72.12 kB / 0.6596 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.6017, allocations: 4.092 MB / 0.6636 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.602, allocations: 0.7245 MB / 0.6643 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003814/0.6024, allocations: 102.2 kB / 0.6644 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.6026, allocations: 83.39 kB / 0.6645 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.6026, allocations: 0 / 0.6645 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.6309, allocations: 8.442 MB / 0.6727 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.59, allocations: 7.984 kB / 0.6727 GB, free: 11.81 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches