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.001247/0.001247, allocations: 107.6 kB / 16.41 MB, free: 6.496 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.001264/0.001264, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2298/0.2298, allocations: 43.52 MB / 314.1 MB, free: 460 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.002/0.002, allocations: 67.89 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1188, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4252/0.544, allocations: 151.4 MB / 0.6353 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008738/0.5528, allocations: 6.973 MB / 0.6421 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.523e-05/0.5529, allocations: 3.938 kB / 0.6421 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.5532, allocations: 51.67 kB / 0.6421 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.5568, allocations: 1.436 MB / 0.6435 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.5572, allocations: 139.8 kB / 0.6437 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.5577, allocations: 394.2 kB / 0.644 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.5578, allocations: 17.67 kB / 0.6441 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.558, allocations: 171.3 kB / 0.6442 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.5583, allocations: 163.5 kB / 0.6444 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.5584, allocations: 8 kB / 0.6444 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.5605, allocations: 1.237 MB / 0.6456 GB, free: 8.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.5605, allocations: 39.83 kB / 0.6456 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.5607, allocations: 115.4 kB / 0.6457 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.5621, allocations: 0.9698 MB / 0.6467 GB, free: 7.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5621, allocations: 0 / 0.6467 GB, free: 7.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5622, allocations: 0 / 0.6467 GB, free: 7.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.5622, allocations: 0 / 0.6467 GB, free: 7.746 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.00134/0.5635, allocations: 0.7274 MB / 0.6474 GB, free: 6.973 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5636, allocations: 11.89 kB / 0.6474 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.673e-05/0.5636, allocations: 70.7 kB / 0.6475 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007176/0.5708, allocations: 0.5941 MB / 0.648 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.5713, allocations: 260.1 kB / 0.6483 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.5715, allocations: 131.3 kB / 0.6484 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.5715, allocations: 24 kB / 0.6484 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.5727, allocations: 0.5595 MB / 0.649 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5728, allocations: 0 / 0.649 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.5728, allocations: 12 kB / 0.649 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.5729, allocations: 7.938 kB / 0.649 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.5744, allocations: 0.6299 MB / 0.6496 GB, free: 4.574 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.002085/0.5764, allocations: 1.649 MB / 0.6512 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.5768, allocations: 146.5 kB / 0.6514 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.577, allocations: 80.81 kB / 0.6515 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.5784, allocations: 1.315 MB / 0.6527 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5784, allocations: 34.5 kB / 0.6528 GB, free: 1.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.5784, allocations: 0 / 0.6528 GB, free: 1.004 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.001038/0.5795, allocations: 332.1 kB / 0.6531 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.5795, allocations: 59.34 kB / 0.6531 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.5797, allocations: 191.3 kB / 0.6533 GB, free: 416 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.5798, allocations: 29.7 kB / 0.6534 GB, free: 380 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.5799, allocations: 191.7 kB / 0.6535 GB, free: 184 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.58, allocations: 75.42 kB / 0.6536 GB, free: 108 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.5801, allocations: 94 kB / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5803, allocations: 326.9 kB / 0.654 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.5804, allocations: 60.7 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.5808, allocations: 267.8 kB / 0.6543 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.5813, allocations: 359.6 kB / 0.6547 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5813, allocations: 8 kB / 0.6547 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006278/0.5819, allocations: 373.7 kB / 0.655 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5819, allocations: 8 kB / 0.655 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.582, allocations: 8 kB / 0.655 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.582, allocations: 11.94 kB / 0.6551 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.5824, allocations: 127.8 kB / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004377/0.5828, allocations: 0.602 MB / 0.6558 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.5831, allocations: 55.61 kB / 0.6558 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.5832, allocations: 40 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.0001606/0.5833, allocations: 153.5 kB / 0.656 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.5834, allocations: 19.91 kB / 0.656 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.584, allocations: 292.8 kB / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.5841, allocations: 0 / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5841, allocations: 0 / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5841, allocations: 0 / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.5848, allocations: 0.5216 MB / 0.6568 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5848, allocations: 4 kB / 0.6568 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.585, allocations: 56.91 kB / 0.6569 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.585, allocations: 4 kB / 0.6569 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.5851, allocations: 11.98 kB / 0.6569 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003519/0.5854, allocations: 0.5939 MB / 0.6575 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5854, allocations: 0 / 0.6575 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.5858, allocations: 280 kB / 0.6577 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5859, allocations: 116.9 kB / 0.6578 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.586, allocations: 4 kB / 0.6578 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.5862, allocations: 11.62 kB / 0.6579 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.5862, allocations: 15.97 kB / 0.6579 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.5863, allocations: 16 kB / 0.6579 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001276/0.5864, allocations: 136.2 kB / 0.658 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5864, allocations: 4 kB / 0.658 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006381/0.5871, allocations: 187.7 kB / 0.6582 GB, free: 11.02 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.001335/0.5884, allocations: 1.038 MB / 0.6592 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.5889, allocations: 225.1 kB / 0.6594 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.589, allocations: 0 / 0.6594 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.5892, allocations: 75.89 kB / 0.6595 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.5897, allocations: 63.41 kB / 0.6596 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/0.5956, allocations: 4.096 MB / 0.6636 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.5959, allocations: 0.7284 MB / 0.6643 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004233/0.5964, allocations: 104.4 kB / 0.6644 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.5965, allocations: 75.41 kB / 0.6644 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.5966, allocations: 0 / 0.6644 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.6309, allocations: 8.452 MB / 0.6727 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.37, allocations: 7.984 kB / 0.6727 GB, free: 11.82 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