Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_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.001292/0.001292, allocations: 103.1 kB / 16.27 MB, free: 5.973 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.001277/0.001277, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.441/1.441, 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.2045/0.2045, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001485/0.001485, allocations: 70.69 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01044/0.1161, allocations: 11.25 MB / 451.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.1305, allocations: 14.26 MB / 466.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.1307, allocations: 4 kB / 466.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1311, allocations: 67.5 kB / 466.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.1412, allocations: 3.113 MB / 469.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.1417, allocations: 147.4 kB / 469.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005576/0.1473, allocations: 3.901 MB / 473.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.1474, allocations: 20.39 kB / 473.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1476, allocations: 139.5 kB / 473.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009956/0.1576, allocations: 7.126 MB / 480.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.1578, allocations: 8 kB / 480.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006738/0.1645, allocations: 2.357 MB / 483 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1647, allocations: 43.77 kB / 483 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.165, allocations: 123.5 kB / 483.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.1704, allocations: 1.715 MB / 484.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1704, allocations: 0 / 484.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1704, allocations: 0 / 484.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.1705, allocations: 0 / 484.9 MB, free: 10.42 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.002378/0.1729, allocations: 0.9633 MB / 485.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1729, allocations: 11.89 kB / 485.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.572e-05/0.173, allocations: 66.72 kB / 485.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.1736, allocations: 76.59 kB / 486 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.1738, allocations: 248 kB / 486.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1739, allocations: 24.94 kB / 486.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.1739, allocations: 24.38 kB / 486.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.1748, allocations: 477.4 kB / 486.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1749, allocations: 7.938 kB / 486.8 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.1749, allocations: 16 kB / 486.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1749, allocations: 8 kB / 486.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.176, allocations: 0.6812 MB / 487.5 MB, free: 7.707 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.006759/0.1828, allocations: 3.132 MB / 490.6 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.1834, allocations: 223.3 kB / 490.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1835, allocations: 77.39 kB / 490.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08471/0.2683, allocations: 33.64 MB / 0.5122 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008516/0.2692, allocations: 345.8 kB / 0.5126 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 3.256e-06/0.2692, allocations: 4 kB / 0.5126 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00279/0.272, allocations: 0.865 MB / 0.5134 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002475/0.2723, allocations: 478.6 kB / 0.5139 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.2724, allocations: 156.2 kB / 0.514 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.2725, allocations: 33.7 kB / 0.5141 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2726, allocations: 163.9 kB / 0.5142 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.928e-05/0.2727, allocations: 130.4 kB / 0.5143 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2728, allocations: 86.16 kB / 0.5144 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.273, allocations: 330.8 kB / 0.5147 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.2731, allocations: 69.08 kB / 0.5148 GB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.2734, allocations: 306.2 kB / 0.5151 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.274, allocations: 448 kB / 0.5155 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.274, allocations: 4 kB / 0.5155 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007401/0.2748, allocations: 396.8 kB / 0.5159 GB, free: 11.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.2748, allocations: 11.98 kB / 0.5159 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.2748, allocations: 12.84 kB / 0.5159 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.2749, allocations: 12 kB / 0.5159 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.2768, allocations: 343.4 kB / 0.5163 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007144/0.2775, allocations: 1.188 MB / 0.5174 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.2778, allocations: 19.94 kB / 0.5174 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.2779, allocations: 32 kB / 0.5175 GB, free: 9.711 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 (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.000203/0.2781, allocations: 165.7 kB / 0.5176 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.2782, allocations: 31.72 kB / 0.5177 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.2797, allocations: 0.9449 MB / 0.5186 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2797, allocations: 11.88 kB / 0.5186 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.2797, allocations: 8.219 kB / 0.5186 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.2798, allocations: 7.984 kB / 0.5186 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.2816, allocations: 1.414 MB / 0.52 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.2816, allocations: 7.984 kB / 0.52 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.2828, allocations: 147.9 kB / 0.5201 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.2828, allocations: 4 kB / 0.5201 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.2828, allocations: 8 kB / 0.5201 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003864/0.2832, allocations: 0.5936 MB / 0.5207 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.2832, allocations: 8.016 kB / 0.5207 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008195/0.2841, allocations: 0.5084 MB / 0.5212 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2842, allocations: 100.9 kB / 0.5213 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.2843, allocations: 55.3 kB / 0.5214 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.2847, allocations: 16 kB / 0.5214 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.2847, allocations: 23.91 kB / 0.5214 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.2848, allocations: 12 kB / 0.5214 GB, free: 5.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003528/0.2851, allocations: 275.1 kB / 0.5217 GB, free: 5.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2851, allocations: 0 / 0.5217 GB, free: 5.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001888/0.287, allocations: 459.6 kB / 0.5221 GB, free: 4.672 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 (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.003395/0.2904, allocations: 1.657 MB / 0.5238 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.2922, allocations: 401.8 kB / 0.5241 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.2922, allocations: 1.062 kB / 0.5241 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008334/0.293, allocations: 236.8 kB / 0.5244 GB, free: 2.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000892/0.294, allocations: 122.2 kB / 0.5245 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.36/1.654, allocations: 0.54 GB / 1.064 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1946/1.848, allocations: 0.818 MB / 1.065 GB, free: 173.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006438/1.849, allocations: 165.5 kB / 1.065 GB, free: 173.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/1.849, allocations: 158.4 kB / 1.066 GB, free: 173.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.153e-06/1.849, allocations: 0.8438 kB / 1.066 GB, free: 173.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04823/1.898, allocations: 20.12 MB / 1.085 GB, free: 166.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.9, allocations: 4 kB / 1.085 GB, free: 166.4 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches