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.001254/0.001254, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001265/0.001265, 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.445/1.445, 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.2261/0.2261, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3811, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.0138/0.3949, allocations: 11.24 MB / 0.5295 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.4092, allocations: 11.77 MB / 0.541 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.4095, allocations: 5.562 kB / 0.541 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.4099, allocations: 69.34 kB / 0.541 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01402/0.424, allocations: 3.108 MB / 0.5441 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.4244, allocations: 155.6 kB / 0.5442 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006475/0.4309, allocations: 3.903 MB / 0.548 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.532e-05/0.431, allocations: 17.5 kB / 0.548 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.4312, allocations: 139.5 kB / 0.5482 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.4416, allocations: 7.124 MB / 0.5551 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.4417, allocations: 8 kB / 0.5551 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006296/0.448, allocations: 2.107 MB / 0.5572 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.4481, allocations: 43.77 kB / 0.5572 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.4484, allocations: 127.4 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005388/0.4538, allocations: 1.543 MB / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4538, allocations: 0 / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4538, allocations: 0 / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4538, allocations: 4 kB / 0.5589 GB, free: 2.652 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.002415/0.4563, allocations: 0.9374 MB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4563, allocations: 12.02 kB / 0.5598 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.179e-05/0.4564, allocations: 62.73 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/0.457, allocations: 80.73 kB / 0.5599 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.4575, allocations: 256 kB / 0.5602 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.4575, allocations: 20.94 kB / 0.5602 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.4576, allocations: 24.38 kB / 0.5602 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.4586, allocations: 485.4 kB / 0.5607 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4587, allocations: 0 / 0.5607 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.4587, allocations: 16 kB / 0.5607 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.4587, allocations: 8 kB / 0.5607 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.4599, allocations: 0.6773 MB / 0.5614 GB, free: 15.96 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.006924/0.4669, allocations: 3.115 MB / 0.5644 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.4676, allocations: 215.3 kB / 0.5646 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.4678, allocations: 77.39 kB / 0.5647 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08329/0.551, allocations: 30.77 MB / 0.5947 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008152/0.5519, allocations: 345.9 kB / 0.5951 GB, free: 10.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.5519, allocations: 0 / 0.5951 GB, free: 10.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003157/0.5551, allocations: 0.99 MB / 0.596 GB, free: 9.801 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002548/0.5554, allocations: 482.9 kB / 0.5965 GB, free: 9.219 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.5555, allocations: 162.4 kB / 0.5966 GB, free: 9.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.5556, allocations: 33.69 kB / 0.5967 GB, free: 9.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5557, allocations: 164.4 kB / 0.5968 GB, free: 8.848 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.5558, allocations: 138.8 kB / 0.597 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.5559, allocations: 94.19 kB / 0.5971 GB, free: 8.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5561, allocations: 330.8 kB / 0.5974 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.5563, allocations: 73.08 kB / 0.5974 GB, free: 8.211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.5566, allocations: 314.2 kB / 0.5977 GB, free: 7.785 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.5572, allocations: 456 kB / 0.5982 GB, free: 7.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5572, allocations: 4 kB / 0.5982 GB, free: 7.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007753/0.558, allocations: 451.3 kB / 0.5986 GB, free: 6.766 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.558, allocations: 8 kB / 0.5986 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.558, allocations: 8 kB / 0.5986 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/0.5601, allocations: 325.4 kB / 0.5989 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.5604, allocations: 103.8 kB / 0.599 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007966/0.5612, allocations: 1.215 MB / 0.6002 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.5614, allocations: 24.19 kB / 0.6002 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.5615, allocations: 39.91 kB / 0.6003 GB, free: 5 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.0001859/0.5617, allocations: 161.6 kB / 0.6004 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-05/0.5618, allocations: 27.86 kB / 0.6005 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.5633, allocations: 1.045 MB / 0.6015 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.5633, allocations: 11.94 kB / 0.6015 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5633, allocations: 4 kB / 0.6015 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.5633, allocations: 11.92 kB / 0.6015 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.5651, allocations: 1.561 MB / 0.603 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5651, allocations: 4 kB / 0.603 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.5653, allocations: 39.91 kB / 0.6031 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.5666, allocations: 237.6 kB / 0.6033 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.5666, allocations: 8 kB / 0.6033 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007935/0.5674, allocations: 1.27 MB / 0.6046 GB, free: 388 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.5674, allocations: 4.031 kB / 0.6046 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/0.5682, allocations: 0.603 MB / 0.6051 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.5683, allocations: 112.8 kB / 0.6053 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5684, allocations: 43.61 kB / 0.6053 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.5686, allocations: 16 kB / 0.6053 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.5687, allocations: 23.91 kB / 0.6053 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.5687, allocations: 16 kB / 0.6053 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003726/0.5691, allocations: 275.1 kB / 0.6056 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5691, allocations: 0 / 0.6056 GB, free: 15.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001465/0.5706, allocations: 446.6 kB / 0.606 GB, free: 14.79 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.00248/0.5731, allocations: 1.718 MB / 0.6077 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007125/0.5738, allocations: 372.4 kB / 0.6081 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5738, allocations: 4.062 kB / 0.6081 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.5741, allocations: 237.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.0008065/0.575, allocations: 118.6 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.19/1.765, allocations: 0.495 GB / 1.103 GB, free: 72.44 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/1.766, allocations: 0.8331 MB / 1.104 GB, free: 71.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003518/1.766, allocations: 157.7 kB / 1.104 GB, free: 71.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/1.766, allocations: 167.4 kB / 1.104 GB, free: 71.29 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/1.766, allocations: 0 / 1.104 GB, free: 71.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04562/1.812, allocations: 20.03 MB / 1.124 GB, free: 51.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.69, allocations: 15.38 kB / 1.124 GB, free: 51.54 MB / 0.6075 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