Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_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.001445/0.001445, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001569/0.00157, allocations: 183 kB / 18.71 MB, free: 4.32 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2146/0.2146, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4225, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01367/0.4362, allocations: 11.24 MB / 0.5294 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.4514, allocations: 11.78 MB / 0.5409 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.4517, allocations: 1.188 kB / 0.5409 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.4522, allocations: 69.62 kB / 0.541 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.4639, allocations: 3.118 MB / 0.5441 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.4644, allocations: 151.3 kB / 0.5442 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005797/0.4702, allocations: 3.9 MB / 0.548 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/0.4702, allocations: 19.19 kB / 0.548 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.4705, allocations: 140 kB / 0.5482 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009218/0.4797, allocations: 7.135 MB / 0.5551 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.4798, allocations: 8 kB / 0.5551 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005389/0.4852, allocations: 2.127 MB / 0.5572 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-05/0.4853, allocations: 43.81 kB / 0.5573 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.4855, allocations: 127.4 kB / 0.5574 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.4889, allocations: 1.544 MB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4889, allocations: 0 / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.489, allocations: 0 / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.489, allocations: 0 / 0.5589 GB, free: 2.66 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.001996/0.491, allocations: 0.9204 MB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.491, allocations: 8.031 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/0.4911, allocations: 70.72 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.4917, allocations: 76.59 kB / 0.5599 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.4921, allocations: 251.9 kB / 0.5602 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.4922, allocations: 24.88 kB / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.4922, allocations: 24.38 kB / 0.5602 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.4932, allocations: 489.3 kB / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4932, allocations: 0 / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.4932, allocations: 12 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.4933, allocations: 15.92 kB / 0.5607 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.4944, allocations: 0.6852 MB / 0.5614 GB, free: 15.97 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.007229/0.5016, allocations: 4.292 MB / 0.5656 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.5022, allocations: 175 kB / 0.5657 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.5023, allocations: 57.53 kB / 0.5658 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02821/0.5305, allocations: 16.4 MB / 0.5818 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/0.5315, allocations: 325.9 kB / 0.5821 GB, free: 8.066 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.296e-06/0.5315, allocations: 4 kB / 0.5821 GB, free: 8.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001443/0.5329, allocations: 434.6 kB / 0.5825 GB, free: 7.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002587/0.5332, allocations: 483 kB / 0.583 GB, free: 7.051 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.5334, allocations: 187.4 kB / 0.5832 GB, free: 6.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5335, allocations: 29.7 kB / 0.5832 GB, free: 6.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.5336, allocations: 187.6 kB / 0.5834 GB, free: 6.637 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.5337, allocations: 106.6 kB / 0.5835 GB, free: 6.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.5338, allocations: 90.02 kB / 0.5836 GB, free: 6.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5339, allocations: 330.8 kB / 0.5839 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.5341, allocations: 64.83 kB / 0.5839 GB, free: 6.043 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.5344, allocations: 310.8 kB / 0.5842 GB, free: 5.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.5349, allocations: 425 kB / 0.5846 GB, free: 5.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.5349, allocations: 12 kB / 0.5847 GB, free: 5.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006395/0.5355, allocations: 400.9 kB / 0.585 GB, free: 4.672 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5356, allocations: 8 kB / 0.585 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5356, allocations: 12 kB / 0.5851 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/0.5356, allocations: 12 kB / 0.5851 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.5359, allocations: 104.5 kB / 0.5852 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.536, allocations: 23.92 kB / 0.5852 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.5362, allocations: 47.47 kB / 0.5852 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.5363, allocations: 35.98 kB / 0.5853 GB, free: 4.434 MB / 446.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.0001449/0.5364, allocations: 149.7 kB / 0.5854 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.5365, allocations: 27.72 kB / 0.5854 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.5376, allocations: 0.7857 MB / 0.5862 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5376, allocations: 4 kB / 0.5862 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.5376, allocations: 0 / 0.5862 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.5376, allocations: 11.92 kB / 0.5862 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.539, allocations: 1.211 MB / 0.5874 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.539, allocations: 4.156 kB / 0.5874 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.5391, allocations: 35.92 kB / 0.5874 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-06/0.5392, allocations: 7.938 kB / 0.5875 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.5392, allocations: 8 kB / 0.5875 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.5392, allocations: 4 kB / 0.5875 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.5392, allocations: 7.938 kB / 0.5875 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.5397, allocations: 372.4 kB / 0.5878 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.5398, allocations: 108.7 kB / 0.5879 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.5398, allocations: 47.44 kB / 0.588 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5401, allocations: 11.98 kB / 0.588 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.5401, allocations: 15.98 kB / 0.588 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.5401, allocations: 12 kB / 0.588 GB, free: 1.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002944/0.5404, allocations: 286.9 kB / 0.5883 GB, free: 1.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5404, allocations: 0 / 0.5883 GB, free: 1.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001381/0.5418, allocations: 435.4 kB / 0.5887 GB, free: 0.6602 MB / 446.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.001828/0.5437, allocations: 1.434 MB / 0.5901 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.5441, allocations: 233.1 kB / 0.5903 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.5441, allocations: 0 / 0.5903 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.5443, allocations: 88.66 kB / 0.5904 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.545, allocations: 112.8 kB / 0.5905 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.522/2.067, allocations: 0.582 GB / 1.173 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/2.067, allocations: 0.8087 MB / 1.173 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004326/2.068, allocations: 163.9 kB / 1.173 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/2.068, allocations: 145.1 kB / 1.174 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/2.068, allocations: 0 / 1.174 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/2.112, allocations: 18.37 MB / 1.192 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/10.84, allocations: 7.609 kB / 1.192 GB, free: 194.4 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches