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.006824/0.006824, allocations: 100.5 kB / 15.87 MB, free: 6.316 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.001118/0.001118, allocations: 192.5 kB / 16.79 MB, free: 6.242 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.518/1.518, allocations: 205.1 MB / 222.7 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3705/0.3705, allocations: 43.49 MB / 313.5 MB, free: 8.492 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.002478/0.002478, allocations: 67.91 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.141, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01543/0.1564, allocations: 11.48 MB / 451.4 MB, free: 3.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2368/0.3933, allocations: 14.6 MB / 466 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3935, allocations: 2.719 kB / 466 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3938, allocations: 62.36 kB / 466.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007993/0.4018, allocations: 2.636 MB / 468.7 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.4022, allocations: 138.6 kB / 468.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005698/0.4079, allocations: 4.147 MB / 473 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.408, allocations: 21.86 kB / 473 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.4081, allocations: 139 kB / 473.1 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009895/0.418, allocations: 7.558 MB / 480.7 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/0.4181, allocations: 10.39 kB / 480.7 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005037/0.4232, allocations: 2.116 MB / 482.8 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.4233, allocations: 38.11 kB / 482.9 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.4235, allocations: 128 kB / 483 MB, free: 32.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.4274, allocations: 1.548 MB / 484.5 MB, free: 31.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4274, allocations: 2.031 kB / 484.5 MB, free: 31.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4274, allocations: 3.938 kB / 484.5 MB, free: 31.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.4274, allocations: 0 / 484.5 MB, free: 31.68 MB / 382.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.002041/0.4295, allocations: 0.9158 MB / 485.5 MB, free: 31.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4295, allocations: 9.25 kB / 485.5 MB, free: 31.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.4296, allocations: 66.2 kB / 485.5 MB, free: 31.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005697/0.4302, allocations: 78.75 kB / 485.6 MB, free: 30.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.4304, allocations: 241.6 kB / 485.8 MB, free: 30.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4304, allocations: 19.62 kB / 485.9 MB, free: 30.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.4305, allocations: 34 kB / 485.9 MB, free: 30.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.4314, allocations: 484.3 kB / 486.4 MB, free: 30.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4314, allocations: 0 / 486.4 MB, free: 30.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.4315, allocations: 11.88 kB / 486.4 MB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4315, allocations: 7.422 kB / 486.4 MB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.4326, allocations: 0.6858 MB / 487.1 MB, free: 30.34 MB / 382.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.007462/0.4401, allocations: 4.305 MB / 491.4 MB, free: 27.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.4407, allocations: 167.6 kB / 491.5 MB, free: 27.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.4409, allocations: 61.58 kB / 491.6 MB, free: 27.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02656/0.4674, allocations: 16.41 MB / 0.4961 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006767/0.4681, allocations: 321.7 kB / 0.4964 GB, free: 14.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.4682, allocations: 0 / 0.4964 GB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00133/0.4695, allocations: 437.4 kB / 0.4968 GB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4696, allocations: 477.1 kB / 0.4973 GB, free: 13.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4698, allocations: 193.7 kB / 0.4975 GB, free: 13.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4698, allocations: 31.08 kB / 0.4975 GB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.4699, allocations: 185.9 kB / 0.4977 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.47, allocations: 106.4 kB / 0.4978 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4701, allocations: 92.36 kB / 0.4979 GB, free: 13.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.4701, allocations: 331.8 kB / 0.4982 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4703, allocations: 67.12 kB / 0.4982 GB, free: 13.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.4705, allocations: 316 kB / 0.4985 GB, free: 12.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.4709, allocations: 423.4 kB / 0.4989 GB, free: 12.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4709, allocations: 2.25 kB / 0.499 GB, free: 12.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006275/0.4715, allocations: 403.8 kB / 0.4993 GB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4716, allocations: 8.469 kB / 0.4993 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4716, allocations: 8.125 kB / 0.4994 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.4716, allocations: 16.38 kB / 0.4994 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.4719, allocations: 106.5 kB / 0.4995 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.4719, allocations: 15.88 kB / 0.4995 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.4722, allocations: 52.41 kB / 0.4995 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.4723, allocations: 31.19 kB / 0.4996 GB, free: 12.08 MB / 382.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.0001126/0.4724, allocations: 162.2 kB / 0.4997 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.4725, allocations: 26.72 kB / 0.4997 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009581/0.4734, allocations: 0.7805 MB / 0.5005 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4735, allocations: 15.89 kB / 0.5005 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4735, allocations: 2.25 kB / 0.5005 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4735, allocations: 6.344 kB / 0.5005 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.4744, allocations: 1.2 MB / 0.5017 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4745, allocations: 3.406 kB / 0.5017 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4746, allocations: 47.55 kB / 0.5018 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.4746, allocations: 7.188 kB / 0.5018 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4746, allocations: 4.5 kB / 0.5018 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4746, allocations: 4.078 kB / 0.5018 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.4746, allocations: 7.562 kB / 0.5018 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.475, allocations: 373.7 kB / 0.5021 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.475, allocations: 102.9 kB / 0.5022 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.4751, allocations: 54.8 kB / 0.5023 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.4754, allocations: 10.38 kB / 0.5023 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.4754, allocations: 17.83 kB / 0.5023 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.4754, allocations: 8.5 kB / 0.5023 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000293/0.4757, allocations: 292.4 kB / 0.5026 GB, free: 9.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4757, allocations: 1 kB / 0.5026 GB, free: 9.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001733/0.4775, allocations: 415.9 kB / 0.503 GB, free: 9.797 MB / 382.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.001848/0.4793, allocations: 1.442 MB / 0.5044 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.4797, allocations: 241.6 kB / 0.5046 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4797, allocations: 0 / 0.5046 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4799, allocations: 88.55 kB / 0.5047 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.4806, allocations: 106.4 kB / 0.5048 GB, free: 8.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.336/1.816, allocations: 0.5822 GB / 1.087 GB, free: 86.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/1.817, allocations: 0.8125 MB / 1.088 GB, free: 85.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004789/1.817, allocations: 163.9 kB / 1.088 GB, free: 85.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/1.817, allocations: 151.4 kB / 1.088 GB, free: 84.97 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/1.817, allocations: 4 kB / 1.088 GB, free: 84.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/1.849, allocations: 17.97 MB / 1.106 GB, free: 67.11 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/1.849, allocations: 230.8 kB / 1.106 GB, free: 66.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/4.305, allocations: 7.938 kB / 1.106 GB, free: 66.85 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches