Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001642/0.001642, allocations: 108.7 kB / 16.41 MB, free: 6.496 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.00173/0.00173, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2073/0.2073, allocations: 43.54 MB / 314.1 MB, free: 460 kB / 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.001986/0.001986, allocations: 63.89 kB / 441.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.119, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01437/0.1334, allocations: 11.26 MB / 0.4984 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.1513, allocations: 14.27 MB / 0.5124 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.1515, allocations: 4 kB / 0.5124 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1519, allocations: 75.48 kB / 0.5124 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009279/0.1612, allocations: 3.105 MB / 0.5155 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1616, allocations: 151.7 kB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006151/0.1678, allocations: 3.901 MB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.1679, allocations: 12.41 kB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1681, allocations: 143.5 kB / 0.5196 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01021/0.1783, allocations: 7.118 MB / 0.5265 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.1784, allocations: 12 kB / 0.5265 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005369/0.1838, allocations: 2.131 MB / 0.5286 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.184, allocations: 39.77 kB / 0.5287 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.1842, allocations: 131.4 kB / 0.5288 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.1884, allocations: 1.547 MB / 0.5303 GB, free: 252 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1884, allocations: 0 / 0.5303 GB, free: 252 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1884, allocations: 3.938 kB / 0.5303 GB, free: 248 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1884, allocations: 0 / 0.5303 GB, free: 248 kB / 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.2291/0.4175, allocations: 0.9391 MB / 0.5312 GB, free: 42.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4176, allocations: 14.83 kB / 0.5312 GB, free: 42.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.264e-05/0.4176, allocations: 61.59 kB / 0.5313 GB, free: 42.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/0.4182, allocations: 77.5 kB / 0.5314 GB, free: 42.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.4186, allocations: 255 kB / 0.5316 GB, free: 42.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4186, allocations: 21.66 kB / 0.5316 GB, free: 42.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.4187, allocations: 28.3 kB / 0.5317 GB, free: 42.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.4196, allocations: 487.6 kB / 0.5321 GB, free: 42.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.4196, allocations: 7.969 kB / 0.5321 GB, free: 42.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.4197, allocations: 10.28 kB / 0.5321 GB, free: 42.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.4197, allocations: 8.984 kB / 0.5321 GB, free: 42.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.4208, allocations: 0.68 MB / 0.5328 GB, free: 42.57 MB / 414.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.006897/0.4277, allocations: 4.299 MB / 0.537 GB, free: 39.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.4283, allocations: 168.8 kB / 0.5372 GB, free: 39.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.4284, allocations: 60.47 kB / 0.5372 GB, free: 39.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02763/0.4561, allocations: 16.41 MB / 0.5533 GB, free: 28.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.4572, allocations: 320.6 kB / 0.5536 GB, free: 27.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 4.849e-06/0.4572, allocations: 0 / 0.5536 GB, free: 27.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.002056/0.4593, allocations: 446.5 kB / 0.554 GB, free: 27.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.4596, allocations: 480.4 kB / 0.5544 GB, free: 27.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.4599, allocations: 183.4 kB / 0.5546 GB, free: 27.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.4599, allocations: 39.7 kB / 0.5547 GB, free: 27.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.46, allocations: 186.2 kB / 0.5548 GB, free: 26.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.4601, allocations: 110.6 kB / 0.5549 GB, free: 26.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.4603, allocations: 90.31 kB / 0.555 GB, free: 26.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.4604, allocations: 334.9 kB / 0.5553 GB, free: 26.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.4606, allocations: 67.42 kB / 0.5554 GB, free: 26.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.4609, allocations: 318.7 kB / 0.5557 GB, free: 26.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.4614, allocations: 415.9 kB / 0.5561 GB, free: 25.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.4615, allocations: 3.406 kB / 0.5561 GB, free: 25.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008478/0.4623, allocations: 402.9 kB / 0.5565 GB, free: 25.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.4624, allocations: 9.062 kB / 0.5565 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.4624, allocations: 8.844 kB / 0.5565 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/0.4624, allocations: 11.94 kB / 0.5565 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.4628, allocations: 114.5 kB / 0.5566 GB, free: 25.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/0.4628, allocations: 17.97 kB / 0.5567 GB, free: 25.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.4631, allocations: 43.84 kB / 0.5567 GB, free: 25.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.4632, allocations: 31.31 kB / 0.5567 GB, free: 25.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.4634, allocations: 165.5 kB / 0.5569 GB, free: 25.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.4635, allocations: 24.69 kB / 0.5569 GB, free: 25.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.4646, allocations: 0.7845 MB / 0.5577 GB, free: 24.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4646, allocations: 5.125 kB / 0.5577 GB, free: 24.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4647, allocations: 3.359 kB / 0.5577 GB, free: 24.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4647, allocations: 10.92 kB / 0.5577 GB, free: 24.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4658, allocations: 1.219 MB / 0.5589 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.4659, allocations: 2.281 kB / 0.5589 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.466, allocations: 29.05 kB / 0.5589 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.466, allocations: 7.188 kB / 0.5589 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.466, allocations: 15.75 kB / 0.5589 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.466, allocations: 7.562 kB / 0.5589 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.466, allocations: 3.531 kB / 0.5589 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.4664, allocations: 376.4 kB / 0.5593 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.4665, allocations: 105 kB / 0.5594 GB, free: 23.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.4666, allocations: 53.72 kB / 0.5595 GB, free: 23.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.4669, allocations: 14.22 kB / 0.5595 GB, free: 23.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.4669, allocations: 23.53 kB / 0.5595 GB, free: 23.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.4669, allocations: 11.81 kB / 0.5595 GB, free: 23.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.4673, allocations: 287.4 kB / 0.5598 GB, free: 22.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4673, allocations: 3.938 kB / 0.5598 GB, free: 22.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001667/0.469, allocations: 434.1 kB / 0.5602 GB, free: 22.77 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002194/0.4712, allocations: 1.432 MB / 0.5616 GB, free: 21.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.4716, allocations: 247.4 kB / 0.5618 GB, free: 21.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4716, allocations: 1.875 kB / 0.5618 GB, free: 21.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4717, allocations: 86.09 kB / 0.5619 GB, free: 21.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.4725, allocations: 110.9 kB / 0.562 GB, free: 21.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.189/1.662, allocations: 0.5821 GB / 1.144 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/1.662, allocations: 0.8112 MB / 1.145 GB, free: 23.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003564/1.662, allocations: 161.2 kB / 1.145 GB, free: 23.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.663, allocations: 151.4 kB / 1.145 GB, free: 23.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/1.663, allocations: 0 / 1.145 GB, free: 23.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/1.703, allocations: 18.37 MB / 1.163 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.097/10.8, allocations: 7.859 kB / 1.163 GB, free: 5.176 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_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_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches