Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_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.001179/0.001179, allocations: 104 kB / 16.27 MB, free: 6.043 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.001275/0.001275, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.499/1.499, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2151/0.2151, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 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.001726/0.001726, allocations: 74.02 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09894, allocations: 57.78 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01237/0.1114, allocations: 11.24 MB / 451.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.1283, allocations: 14.27 MB / 466.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.1287, allocations: 0 / 466.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.1293, allocations: 83.47 kB / 466.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.1395, allocations: 3.097 MB / 469.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1399, allocations: 151.6 kB / 469.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005049/0.1449, allocations: 3.897 MB / 473.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.145, allocations: 24.38 kB / 473.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1452, allocations: 143.5 kB / 473.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008783/0.154, allocations: 7.126 MB / 480.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.1541, allocations: 12 kB / 480.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004944/0.1591, allocations: 2.068 MB / 482.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.1592, allocations: 47.77 kB / 482.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.1593, allocations: 119.5 kB / 482.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.1625, allocations: 1.536 MB / 484.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.1625, allocations: 4 kB / 484.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1625, allocations: 0 / 484.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1626, allocations: 0 / 484.4 MB, free: 10.87 MB / 366.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.00216/0.1647, allocations: 0.9204 MB / 485.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1648, allocations: 11.89 kB / 485.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.479e-05/0.1649, allocations: 70.66 kB / 485.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.1655, allocations: 80.59 kB / 485.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1657, allocations: 244 kB / 485.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1658, allocations: 20.94 kB / 485.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.1658, allocations: 24.38 kB / 485.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/0.1667, allocations: 485.4 kB / 486.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1668, allocations: 0 / 486.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.1668, allocations: 12 kB / 486.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1668, allocations: 11.98 kB / 486.3 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1679, allocations: 0.6773 MB / 487 MB, free: 8.203 MB / 366.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.00631/0.1742, allocations: 3.111 MB / 490.1 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.1749, allocations: 215.3 kB / 490.3 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.175, allocations: 81.33 kB / 490.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08133/0.2563, allocations: 30.76 MB / 0.5089 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008133/0.2572, allocations: 349.8 kB / 0.5092 GB, free: 3.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 5.11e-06/0.2572, allocations: 0 / 0.5092 GB, free: 3.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003799/0.261, allocations: 0.9716 MB / 0.5102 GB, free: 2.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002298/0.2613, allocations: 487 kB / 0.5107 GB, free: 1.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2615, allocations: 156.1 kB / 0.5108 GB, free: 1.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2615, allocations: 37.7 kB / 0.5108 GB, free: 1.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.2616, allocations: 159.9 kB / 0.511 GB, free: 1.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.73e-05/0.2617, allocations: 134 kB / 0.5111 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.2618, allocations: 94.23 kB / 0.5112 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.262, allocations: 326.8 kB / 0.5115 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.2621, allocations: 81.02 kB / 0.5116 GB, free: 492 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.2624, allocations: 310.1 kB / 0.5119 GB, free: 60 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.2629, allocations: 460 kB / 0.5123 GB, free: 15.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.263, allocations: 0 / 0.5123 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008744/0.2638, allocations: 450.7 kB / 0.5128 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.2639, allocations: 8 kB / 0.5128 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.2639, allocations: 12 kB / 0.5128 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.2661, allocations: 321.7 kB / 0.5131 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2664, allocations: 107.8 kB / 0.5132 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006896/0.2671, allocations: 1.211 MB / 0.5144 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.2674, allocations: 23.91 kB / 0.5144 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.2675, allocations: 35.92 kB / 0.5144 GB, free: 13.28 MB / 414.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.0001837/0.2677, allocations: 157.6 kB / 0.5146 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.2678, allocations: 27.8 kB / 0.5146 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.2692, allocations: 1.056 MB / 0.5156 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.2692, allocations: 11.94 kB / 0.5157 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.2692, allocations: 8 kB / 0.5157 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.2692, allocations: 3.984 kB / 0.5157 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.2708, allocations: 1.556 MB / 0.5172 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.2709, allocations: 4 kB / 0.5172 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.271, allocations: 43.97 kB / 0.5172 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.2723, allocations: 241.5 kB / 0.5175 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.2723, allocations: 12 kB / 0.5175 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006421/0.273, allocations: 1.27 MB / 0.5187 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.273, allocations: 0 / 0.5187 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.2737, allocations: 0.5948 MB / 0.5193 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.2738, allocations: 112.6 kB / 0.5194 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.2739, allocations: 47.42 kB / 0.5194 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.2741, allocations: 12 kB / 0.5195 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.2742, allocations: 27.91 kB / 0.5195 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.2742, allocations: 8 kB / 0.5195 GB, free: 7.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.2745, allocations: 275.1 kB / 0.5198 GB, free: 7.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2745, allocations: 4 kB / 0.5198 GB, free: 7.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001327/0.2758, allocations: 451.5 kB / 0.5202 GB, free: 7.066 MB / 414.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.002437/0.2783, allocations: 1.683 MB / 0.5218 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006559/0.2789, allocations: 379.7 kB / 0.5222 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.279, allocations: 7.938 kB / 0.5222 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.2793, allocations: 235 kB / 0.5224 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.2801, allocations: 130.1 kB / 0.5226 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.268/1.548, allocations: 0.4949 GB / 1.017 GB, free: 54.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/1.548, allocations: 0.8302 MB / 1.018 GB, free: 53.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004304/1.548, allocations: 169.8 kB / 1.018 GB, free: 53.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/1.549, allocations: 167.4 kB / 1.019 GB, free: 53.61 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/1.549, allocations: 0 / 1.019 GB, free: 53.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/1.583, allocations: 19.92 MB / 1.038 GB, free: 33.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.67, allocations: 7.938 kB / 1.038 GB, free: 33.79 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches