Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00106/0.00106, allocations: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 71.88 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3686, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01246/0.3811, allocations: 11.29 MB / 0.5416 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.3944, allocations: 11.78 MB / 0.5531 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.3948, allocations: 0 / 0.5531 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.3954, allocations: 67.56 kB / 0.5531 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.4073, allocations: 3.12 MB / 0.5562 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.4078, allocations: 153.4 kB / 0.5563 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005716/0.4135, allocations: 3.908 MB / 0.5602 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.4136, allocations: 20.39 kB / 0.5602 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.4139, allocations: 135.6 kB / 0.5603 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009528/0.4235, allocations: 7.118 MB / 0.5673 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.4236, allocations: 8 kB / 0.5673 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00648/0.4301, allocations: 2.119 MB / 0.5693 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.4302, allocations: 51.75 kB / 0.5694 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.4305, allocations: 111.5 kB / 0.5695 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006325/0.4368, allocations: 1.551 MB / 0.571 GB, free: 8.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.4369, allocations: 0 / 0.571 GB, free: 8.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4369, allocations: 0 / 0.571 GB, free: 8.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.4369, allocations: 3.938 kB / 0.571 GB, free: 8.23 MB / 430.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.002603/0.4395, allocations: 0.9491 MB / 0.5719 GB, free: 7.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4396, allocations: 8.031 kB / 0.5719 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.422e-05/0.4397, allocations: 62.72 kB / 0.572 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.4403, allocations: 84.67 kB / 0.5721 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.4407, allocations: 244 kB / 0.5723 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4408, allocations: 20.94 kB / 0.5723 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.4408, allocations: 28.38 kB / 0.5724 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.4419, allocations: 485.4 kB / 0.5728 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4419, allocations: 4 kB / 0.5728 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.442, allocations: 12 kB / 0.5728 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.442, allocations: 8 kB / 0.5729 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4431, allocations: 0.6773 MB / 0.5735 GB, free: 5.535 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.006252/0.4494, allocations: 3.103 MB / 0.5765 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.45, allocations: 212.2 kB / 0.5767 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4502, allocations: 81.39 kB / 0.5768 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0773/0.5275, allocations: 30.78 MB / 0.6069 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007693/0.5283, allocations: 350.5 kB / 0.6072 GB, free: 380 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/0.5283, allocations: 4 kB / 0.6072 GB, free: 376 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003135/0.5314, allocations: 0.9937 MB / 0.6082 GB, free: 15.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002032/0.5317, allocations: 486.5 kB / 0.6087 GB, free: 14.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5318, allocations: 154.3 kB / 0.6088 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.5319, allocations: 33.7 kB / 0.6088 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.532, allocations: 172.5 kB / 0.609 GB, free: 14.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.5321, allocations: 142.8 kB / 0.6091 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.5322, allocations: 86.2 kB / 0.6092 GB, free: 14.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5324, allocations: 330.8 kB / 0.6095 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.5325, allocations: 77.02 kB / 0.6096 GB, free: 13.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.5328, allocations: 326.1 kB / 0.6099 GB, free: 13.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.5333, allocations: 452 kB / 0.6103 GB, free: 12.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.5334, allocations: 4 kB / 0.6103 GB, free: 12.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007758/0.5342, allocations: 443.3 kB / 0.6108 GB, free: 12.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5342, allocations: 10.34 kB / 0.6108 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.5342, allocations: 8.062 kB / 0.6108 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.5362, allocations: 321.3 kB / 0.6111 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.5366, allocations: 111.7 kB / 0.6112 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000737/0.5373, allocations: 1.215 MB / 0.6124 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.5376, allocations: 15.95 kB / 0.6124 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.5376, allocations: 43.88 kB / 0.6124 GB, free: 10.56 MB / 478.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.0001904/0.5378, allocations: 161.8 kB / 0.6126 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.538, allocations: 23.91 kB / 0.6126 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.5393, allocations: 1.046 MB / 0.6136 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.5393, allocations: 16.14 kB / 0.6137 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5393, allocations: 4 kB / 0.6137 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5393, allocations: 4 kB / 0.6137 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.541, allocations: 1.556 MB / 0.6152 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.541, allocations: 4 kB / 0.6152 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.5411, allocations: 40.08 kB / 0.6152 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.5424, allocations: 245.4 kB / 0.6155 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.5424, allocations: 11.98 kB / 0.6155 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006626/0.5431, allocations: 1.262 MB / 0.6167 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.5431, allocations: 4 kB / 0.6167 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.5439, allocations: 0.599 MB / 0.6173 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.544, allocations: 108.8 kB / 0.6174 GB, free: 5.168 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5441, allocations: 51.58 kB / 0.6174 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.5444, allocations: 11.98 kB / 0.6175 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.5444, allocations: 27.92 kB / 0.6175 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.5444, allocations: 19.98 kB / 0.6175 GB, free: 5.059 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.5447, allocations: 267.1 kB / 0.6178 GB, free: 4.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5447, allocations: 0 / 0.6178 GB, free: 4.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001529/0.5463, allocations: 450.6 kB / 0.6182 GB, free: 4.355 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.002987/0.5493, allocations: 1.708 MB / 0.6199 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008001/0.5501, allocations: 368.2 kB / 0.6202 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5501, allocations: 4 kB / 0.6202 GB, free: 2.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.5504, allocations: 238.3 kB / 0.6204 GB, free: 1.973 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.5512, allocations: 126.1 kB / 0.6206 GB, free: 1.844 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.111/1.663, allocations: 0.495 GB / 1.116 GB, free: 60.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/1.663, allocations: 0.8235 MB / 1.116 GB, free: 59.51 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003538/1.663, allocations: 162.1 kB / 1.116 GB, free: 59.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.663, allocations: 167.4 kB / 1.117 GB, free: 59.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/1.664, allocations: 2.25 kB / 1.117 GB, free: 59.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/1.7, allocations: 20.03 MB / 1.136 GB, free: 39.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.76, allocations: 11.42 kB / 1.136 GB, free: 39.42 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches