Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001186/0.001186, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001211/0.001211, allocations: 184.1 kB / 18.71 MB, free: 4.363 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2253/0.2253, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4194, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01662/0.4361, allocations: 11.23 MB / 0.5294 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.4506, allocations: 11.78 MB / 0.5409 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.4509, allocations: 4 kB / 0.5409 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.4514, allocations: 66.16 kB / 0.541 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.4656, allocations: 3.112 MB / 0.5441 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.4662, allocations: 155 kB / 0.5442 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007267/0.4735, allocations: 3.903 MB / 0.548 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.4736, allocations: 14.16 kB / 0.548 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003996/0.474, allocations: 144.8 kB / 0.5482 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.4842, allocations: 7.122 MB / 0.5551 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.4843, allocations: 15.94 kB / 0.5551 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007922/0.4922, allocations: 2.103 MB / 0.5572 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.4924, allocations: 51.75 kB / 0.5572 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.4928, allocations: 123.4 kB / 0.5574 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.4987, allocations: 1.547 MB / 0.5589 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4988, allocations: 0 / 0.5589 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4988, allocations: 0 / 0.5589 GB, free: 2.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4988, allocations: 0 / 0.5589 GB, free: 2.648 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003019/0.5018, allocations: 0.9414 MB / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5019, allocations: 8.031 kB / 0.5598 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.34e-05/0.502, allocations: 62.72 kB / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007686/0.5028, allocations: 84.73 kB / 0.5599 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.5033, allocations: 248 kB / 0.5602 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.5033, allocations: 24.94 kB / 0.5602 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.5034, allocations: 24.38 kB / 0.5602 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5046, allocations: 489.4 kB / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5046, allocations: 0 / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.5046, allocations: 12 kB / 0.5607 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5046, allocations: 8 kB / 0.5607 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.5059, allocations: 0.6812 MB / 0.5614 GB, free: 15.95 MB / 430.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.00674/0.5127, allocations: 3.103 MB / 0.5644 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.5134, allocations: 229.9 kB / 0.5646 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.5135, allocations: 73.39 kB / 0.5647 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07869/0.5922, allocations: 30.77 MB / 0.5947 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007846/0.593, allocations: 341.9 kB / 0.5951 GB, free: 10.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/0.5931, allocations: 0 / 0.5951 GB, free: 10.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003171/0.5962, allocations: 0.99 MB / 0.596 GB, free: 9.801 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.5965, allocations: 486.5 kB / 0.5965 GB, free: 9.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.5966, allocations: 158.6 kB / 0.5966 GB, free: 9.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.5967, allocations: 37.7 kB / 0.5967 GB, free: 9.008 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.5968, allocations: 164.4 kB / 0.5968 GB, free: 8.844 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5969, allocations: 134.8 kB / 0.597 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.597, allocations: 98.19 kB / 0.5971 GB, free: 8.609 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5971, allocations: 326.8 kB / 0.5974 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5973, allocations: 73.08 kB / 0.5974 GB, free: 8.211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.5976, allocations: 318.1 kB / 0.5977 GB, free: 7.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.5981, allocations: 459.9 kB / 0.5982 GB, free: 7.215 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5981, allocations: 4 kB / 0.5982 GB, free: 7.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007689/0.5989, allocations: 443.4 kB / 0.5986 GB, free: 6.766 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5989, allocations: 12 kB / 0.5986 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.599, allocations: 8 kB / 0.5986 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.601, allocations: 321.3 kB / 0.5989 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.6014, allocations: 107.8 kB / 0.599 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007595/0.6021, allocations: 1.219 MB / 0.6002 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.6024, allocations: 16.19 kB / 0.6002 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.6025, allocations: 35.94 kB / 0.6003 GB, free: 5.004 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.6026, allocations: 161.6 kB / 0.6004 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.6028, allocations: 27.86 kB / 0.6005 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.6042, allocations: 1.053 MB / 0.6015 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.6042, allocations: 11.92 kB / 0.6015 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6042, allocations: 8 kB / 0.6015 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.6043, allocations: 4 kB / 0.6015 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.6059, allocations: 1.569 MB / 0.603 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6059, allocations: 0 / 0.603 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.606, allocations: 39.92 kB / 0.6031 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.6073, allocations: 237.5 kB / 0.6033 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.6073, allocations: 11.98 kB / 0.6033 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006743/0.608, allocations: 1.262 MB / 0.6045 GB, free: 388 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.608, allocations: 8.062 kB / 0.6046 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.6088, allocations: 0.6068 MB / 0.6051 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.6089, allocations: 108.8 kB / 0.6053 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.609, allocations: 47.72 kB / 0.6053 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.6092, allocations: 15.92 kB / 0.6053 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.6093, allocations: 23.92 kB / 0.6053 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.6093, allocations: 15.98 kB / 0.6054 GB, free: 15.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003115/0.6096, allocations: 279.1 kB / 0.6056 GB, free: 15.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6096, allocations: 0 / 0.6056 GB, free: 15.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001431/0.6111, allocations: 442.6 kB / 0.606 GB, free: 14.78 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002567/0.6137, allocations: 1.708 MB / 0.6077 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006813/0.6144, allocations: 376.3 kB / 0.6081 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6144, allocations: 4.188 kB / 0.6081 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.6147, allocations: 233.4 kB / 0.6083 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.6155, allocations: 129 kB / 0.6084 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.216/1.832, allocations: 0.495 GB / 1.103 GB, free: 59.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/1.832, allocations: 0.8259 MB / 1.104 GB, free: 58.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000431/1.833, allocations: 163.4 kB / 1.104 GB, free: 58.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/1.833, allocations: 171.4 kB / 1.105 GB, free: 57.88 MB / 0.5919 GB Notification: Performance of SimCode: time 1.653e-06/1.833, allocations: 0 / 1.105 GB, free: 57.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04316/1.876, allocations: 20.02 MB / 1.124 GB, free: 38.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.39, allocations: 9.719 kB / 1.124 GB, free: 38.09 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_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_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches