Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001683/0.001683, 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.001892/0.001892, 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.405/1.405, 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.2137/0.2137, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.86 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3591, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01318/0.3723, allocations: 11.23 MB / 0.5294 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.3864, allocations: 11.78 MB / 0.5409 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.3866, allocations: 1.406 kB / 0.5409 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.387, allocations: 77.12 kB / 0.541 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.398, allocations: 3.108 MB / 0.5441 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.3984, allocations: 155.5 kB / 0.5442 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005806/0.4042, allocations: 3.903 MB / 0.548 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.4043, allocations: 18.52 kB / 0.548 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.4045, allocations: 135 kB / 0.5482 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01014/0.4147, allocations: 7.129 MB / 0.5551 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.926e-05/0.4148, allocations: 16 kB / 0.5551 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00665/0.4215, allocations: 2.388 MB / 0.5575 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.4216, allocations: 43.83 kB / 0.5575 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.4218, allocations: 123.4 kB / 0.5576 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.4266, allocations: 1.722 MB / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4266, allocations: 0 / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4266, allocations: 0 / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.4266, allocations: 0 / 0.5593 GB, free: 2.223 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.002279/0.4289, allocations: 0.9916 MB / 0.5603 GB, free: 1.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.429, allocations: 12.03 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.429, allocations: 62.73 kB / 0.5604 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005975/0.4297, allocations: 80.72 kB / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.43, allocations: 256 kB / 0.5607 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.4301, allocations: 20.94 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.4301, allocations: 24.38 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009949/0.4311, allocations: 489.3 kB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4311, allocations: 4 kB / 0.5612 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.4312, allocations: 8 kB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.4312, allocations: 8 kB / 0.5612 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.4324, allocations: 0.6812 MB / 0.5619 GB, free: 15.47 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.006748/0.4391, allocations: 3.14 MB / 0.5649 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.4398, allocations: 215.3 kB / 0.5651 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.44, allocations: 77.39 kB / 0.5652 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0877/0.5277, allocations: 33.64 MB / 0.5981 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000809/0.5285, allocations: 341.8 kB / 0.5984 GB, free: 6.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.5285, allocations: 0 / 0.5984 GB, free: 6.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002743/0.5313, allocations: 0.8802 MB / 0.5993 GB, free: 6.043 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002889/0.5316, allocations: 487.5 kB / 0.5997 GB, free: 5.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.5318, allocations: 156 kB / 0.5999 GB, free: 5.297 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.5318, allocations: 37.69 kB / 0.5999 GB, free: 5.254 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.5319, allocations: 168.3 kB / 0.6001 GB, free: 5.086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.5321, allocations: 126.9 kB / 0.6002 GB, free: 4.961 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.5322, allocations: 94.19 kB / 0.6003 GB, free: 4.863 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5324, allocations: 326.8 kB / 0.6006 GB, free: 4.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.5325, allocations: 73.08 kB / 0.6007 GB, free: 4.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.5329, allocations: 302.1 kB / 0.6009 GB, free: 4.051 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.5335, allocations: 444.1 kB / 0.6014 GB, free: 3.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.5335, allocations: 4 kB / 0.6014 GB, free: 3.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009593/0.5345, allocations: 417.2 kB / 0.6018 GB, free: 3.082 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5345, allocations: 8 kB / 0.6018 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5345, allocations: 8 kB / 0.6018 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.5346, allocations: 12 kB / 0.6018 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.5365, allocations: 343.8 kB / 0.6021 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000853/0.5373, allocations: 1.18 MB / 0.6033 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.5376, allocations: 27.89 kB / 0.6033 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.5376, allocations: 31.98 kB / 0.6033 GB, free: 1.434 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 (55): * Single equations (assignments): 53 * 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 {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.5378, allocations: 153.7 kB / 0.6035 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.5379, allocations: 31.83 kB / 0.6035 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.5393, allocations: 0.9424 MB / 0.6044 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.5394, allocations: 11.98 kB / 0.6044 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.5394, allocations: 4 kB / 0.6044 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5394, allocations: 4 kB / 0.6045 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.5411, allocations: 1.43 MB / 0.6058 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5411, allocations: 4 kB / 0.6059 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.5421, allocations: 147.9 kB / 0.606 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.5422, allocations: 4 kB / 0.606 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.5422, allocations: 11.98 kB / 0.606 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003873/0.5426, allocations: 0.5898 MB / 0.6066 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5426, allocations: 4.031 kB / 0.6066 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.5433, allocations: 0.5154 MB / 0.6071 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.5434, allocations: 108.9 kB / 0.6072 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.5435, allocations: 51.56 kB / 0.6072 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.5438, allocations: 11.98 kB / 0.6073 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.5438, allocations: 27.92 kB / 0.6073 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.5439, allocations: 19.98 kB / 0.6073 GB, free: 13.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.5442, allocations: 271.1 kB / 0.6076 GB, free: 12.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5442, allocations: 0 / 0.6076 GB, free: 12.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001691/0.5459, allocations: 470.5 kB / 0.608 GB, free: 12.37 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002555/0.5485, allocations: 1.648 MB / 0.6096 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.5501, allocations: 405.7 kB / 0.61 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5501, allocations: 0 / 0.61 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.5509, allocations: 229.4 kB / 0.6102 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.5517, allocations: 117.9 kB / 0.6103 GB, free: 9.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.221/1.773, allocations: 0.54 GB / 1.15 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/1.773, allocations: 0.8304 MB / 1.151 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004423/1.774, allocations: 168.6 kB / 1.151 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/1.774, allocations: 159.4 kB / 1.151 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of SimCode: time 7.72e-07/1.774, allocations: 0 / 1.151 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2907/2.065, allocations: 20.21 MB / 1.171 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/14.84, allocations: 9.094 kB / 1.171 GB, free: 213.7 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_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_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches