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.00162/0.00162, allocations: 106.7 kB / 15.98 MB, free: 5.891 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.001547/0.001547, allocations: 195.4 kB / 16.91 MB, free: 5.742 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.383/1.383, allocations: 205.1 MB / 222.8 MB, free: 4.551 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.3162/0.3162, allocations: 43.5 MB / 313.6 MB, free: 8.539 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.001339/0.001339, allocations: 64.47 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1409, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01379/0.1548, allocations: 11.25 MB / 451.4 MB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2676/0.4224, allocations: 14.19 MB / 465.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.4226, allocations: 0 / 465.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.423, allocations: 60.94 kB / 465.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.4351, allocations: 2.776 MB / 468.4 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.4355, allocations: 141.1 kB / 468.5 MB, free: 34.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005481/0.441, allocations: 4.186 MB / 472.7 MB, free: 34.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.4411, allocations: 21.66 kB / 472.7 MB, free: 34.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.4413, allocations: 145.5 kB / 472.9 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008863/0.4501, allocations: 7.727 MB / 480.6 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.4502, allocations: 8.844 kB / 480.6 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007051/0.4573, allocations: 2.381 MB / 483 MB, free: 32.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.4575, allocations: 45.89 kB / 483 MB, free: 32.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.4577, allocations: 119.8 kB / 483.2 MB, free: 32.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005845/0.4636, allocations: 1.737 MB / 484.9 MB, free: 31.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4636, allocations: 0 / 484.9 MB, free: 31.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.4637, allocations: 1.125 kB / 484.9 MB, free: 31.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4637, allocations: 0 / 484.9 MB, free: 31.39 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.002725/0.4664, allocations: 0.9642 MB / 485.9 MB, free: 30.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4665, allocations: 13.55 kB / 485.9 MB, free: 30.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/0.4665, allocations: 64.05 kB / 485.9 MB, free: 30.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006126/0.4672, allocations: 79.05 kB / 486 MB, free: 30.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.4674, allocations: 247.1 kB / 486.2 MB, free: 30.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.4675, allocations: 23.72 kB / 486.3 MB, free: 30.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.4675, allocations: 27.53 kB / 486.3 MB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4685, allocations: 480.1 kB / 486.8 MB, free: 30.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4686, allocations: 1.188 kB / 486.8 MB, free: 30.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.4686, allocations: 19.47 kB / 486.8 MB, free: 30.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.4686, allocations: 10.94 kB / 486.8 MB, free: 30.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.4699, allocations: 0.6792 MB / 487.5 MB, free: 30.02 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.00696/0.4769, allocations: 3.129 MB / 490.6 MB, free: 28.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.4776, allocations: 212 kB / 490.8 MB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.4777, allocations: 77.03 kB / 490.9 MB, free: 28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08324/0.561, allocations: 33.66 MB / 0.5122 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007626/0.5618, allocations: 345.5 kB / 0.5126 GB, free: 4.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.396e-06/0.5618, allocations: 0 / 0.5126 GB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002721/0.5645, allocations: 0.8604 MB / 0.5134 GB, free: 3.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.5647, allocations: 479.1 kB / 0.5139 GB, free: 2.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5648, allocations: 156.4 kB / 0.514 GB, free: 2.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.5648, allocations: 33.7 kB / 0.5141 GB, free: 2.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.5649, allocations: 159.9 kB / 0.5142 GB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.565, allocations: 126.2 kB / 0.5143 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.5652, allocations: 94.14 kB / 0.5144 GB, free: 2.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.5652, allocations: 330.8 kB / 0.5147 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.5653, allocations: 72.2 kB / 0.5148 GB, free: 1.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.5656, allocations: 309.3 kB / 0.5151 GB, free: 1.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.566, allocations: 445.7 kB / 0.5155 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.566, allocations: 4 kB / 0.5155 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006156/0.5666, allocations: 405.5 kB / 0.5159 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5667, allocations: 8 kB / 0.5159 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5667, allocations: 8 kB / 0.5159 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.5667, allocations: 12 kB / 0.5159 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.5686, allocations: 345.9 kB / 0.5163 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008324/0.5694, allocations: 1.188 MB / 0.5174 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.5697, allocations: 16 kB / 0.5174 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.5698, allocations: 35.98 kB / 0.5175 GB, free: 14.91 MB / 398.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.0001767/0.57, allocations: 157.6 kB / 0.5176 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5701, allocations: 31.72 kB / 0.5177 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.5715, allocations: 0.9502 MB / 0.5186 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.5716, allocations: 11.98 kB / 0.5186 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5716, allocations: 3.938 kB / 0.5186 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.5716, allocations: 4 kB / 0.5186 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.5732, allocations: 1.426 MB / 0.52 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.5733, allocations: 7.984 kB / 0.52 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.5743, allocations: 146.6 kB / 0.5201 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.5743, allocations: 4 kB / 0.5202 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.5744, allocations: 11.98 kB / 0.5202 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003334/0.5747, allocations: 0.5859 MB / 0.5207 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5747, allocations: 4.031 kB / 0.5207 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007153/0.5754, allocations: 0.511 MB / 0.5212 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.5756, allocations: 112.7 kB / 0.5213 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.5757, allocations: 43.47 kB / 0.5214 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.576, allocations: 15.98 kB / 0.5214 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.576, allocations: 31.83 kB / 0.5214 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.5761, allocations: 11.98 kB / 0.5214 GB, free: 10.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003399/0.5764, allocations: 275.1 kB / 0.5217 GB, free: 10.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5764, allocations: 0 / 0.5217 GB, free: 10.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002042/0.5785, allocations: 459.6 kB / 0.5221 GB, free: 9.887 MB / 398.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.003376/0.5819, allocations: 1.651 MB / 0.5238 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.5835, allocations: 401.7 kB / 0.5241 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5835, allocations: 4 kB / 0.5241 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008187/0.5843, allocations: 236.8 kB / 0.5244 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.5852, allocations: 116.2 kB / 0.5245 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.483/2.068, allocations: 0.5402 GB / 1.065 GB, free: 108.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/2.068, allocations: 0.8274 MB / 1.065 GB, free: 107.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005247/2.069, allocations: 173.2 kB / 1.066 GB, free: 107.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/2.069, allocations: 163 kB / 1.066 GB, free: 107.4 MB / 494.1 MB Notification: Performance of SimCode: time 2.004e-06/2.069, allocations: 1.859 kB / 1.066 GB, free: 107.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/2.109, allocations: 20.01 MB / 1.085 GB, free: 87.51 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/2.109, allocations: 256.7 kB / 1.086 GB, free: 87.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/4.923, allocations: 3.938 kB / 1.086 GB, free: 87.21 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches