Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001372/0.001372, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 193.2 kB / 16.79 MB, free: 6.793 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.498/1.498, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.3414/0.3414, allocations: 43.5 MB / 313.5 MB, free: 8.273 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.001514/0.001514, allocations: 63.91 kB / 382.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 57.79 MB / 439.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01261/0.135, allocations: 11.47 MB / 451.4 MB, free: 3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2465/0.3815, allocations: 14.61 MB / 466 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.3818, allocations: 0 / 466 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.3823, allocations: 65.47 kB / 466.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009948/0.3922, allocations: 2.635 MB / 468.7 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3927, allocations: 148.7 kB / 468.8 MB, free: 34.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006106/0.3988, allocations: 4.141 MB / 473 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.3989, allocations: 13.5 kB / 473 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.399, allocations: 137.8 kB / 473.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.4092, allocations: 7.573 MB / 480.7 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.4094, allocations: 5.938 kB / 480.7 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/0.4149, allocations: 2.081 MB / 482.8 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.4151, allocations: 45.62 kB / 482.8 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.4153, allocations: 124.6 kB / 483 MB, free: 31.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005311/0.4206, allocations: 1.539 MB / 484.5 MB, free: 31.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4207, allocations: 1.219 kB / 484.5 MB, free: 31.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4207, allocations: 0 / 484.5 MB, free: 31.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.84e-06/0.4207, allocations: 0 / 484.5 MB, free: 31.43 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.002729/0.4234, allocations: 0.9178 MB / 485.4 MB, free: 30.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.4235, allocations: 12.66 kB / 485.4 MB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.4236, allocations: 66 kB / 485.5 MB, free: 30.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.4242, allocations: 79.58 kB / 485.6 MB, free: 30.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.4245, allocations: 248.5 kB / 485.8 MB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.4246, allocations: 20.19 kB / 485.8 MB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.4246, allocations: 26.12 kB / 485.9 MB, free: 30.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.4256, allocations: 484 kB / 486.3 MB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4256, allocations: 0 / 486.3 MB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.4257, allocations: 12.59 kB / 486.3 MB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.4257, allocations: 11.59 kB / 486.4 MB, free: 30.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.4269, allocations: 0.675 MB / 487 MB, free: 30.09 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.00731/0.4343, allocations: 3.101 MB / 490.1 MB, free: 28.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.4352, allocations: 221.9 kB / 490.3 MB, free: 28.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.4353, allocations: 77.62 kB / 490.4 MB, free: 28.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07585/0.5112, allocations: 30.77 MB / 0.509 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/0.5119, allocations: 346 kB / 0.5093 GB, free: 8.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.395e-06/0.5119, allocations: 0 / 0.5093 GB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002746/0.5147, allocations: 0.9766 MB / 0.5103 GB, free: 7.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.5148, allocations: 487 kB / 0.5107 GB, free: 6.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.5149, allocations: 156.2 kB / 0.5109 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5149, allocations: 33.7 kB / 0.5109 GB, free: 6.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.515, allocations: 167.9 kB / 0.5111 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.5151, allocations: 126.1 kB / 0.5112 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.5152, allocations: 98.08 kB / 0.5113 GB, free: 5.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.5152, allocations: 330.8 kB / 0.5116 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.5153, allocations: 73.09 kB / 0.5117 GB, free: 5.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.5155, allocations: 317.3 kB / 0.512 GB, free: 5.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.5159, allocations: 449.9 kB / 0.5124 GB, free: 4.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5159, allocations: 4 kB / 0.5124 GB, free: 4.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000606/0.5165, allocations: 447 kB / 0.5128 GB, free: 4.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5166, allocations: 8 kB / 0.5128 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5166, allocations: 15.06 kB / 0.5129 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.5185, allocations: 328.5 kB / 0.5132 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.5187, allocations: 103.8 kB / 0.5133 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004016/0.5191, allocations: 1.219 MB / 0.5145 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5194, allocations: 23.91 kB / 0.5145 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.5194, allocations: 28 kB / 0.5145 GB, free: 2.312 MB / 382.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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.5195, allocations: 169.5 kB / 0.5147 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.5196, allocations: 27.72 kB / 0.5147 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.5207, allocations: 1.05 MB / 0.5157 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5207, allocations: 7.984 kB / 0.5157 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5207, allocations: 3.938 kB / 0.5157 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5208, allocations: 4.094 kB / 0.5157 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.522, allocations: 1.552 MB / 0.5172 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.5221, allocations: 9 kB / 0.5173 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.5222, allocations: 43.91 kB / 0.5173 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.5234, allocations: 252.6 kB / 0.5175 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.5234, allocations: 12 kB / 0.5176 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005931/0.524, allocations: 1.266 MB / 0.5188 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5241, allocations: 3.938 kB / 0.5188 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.5247, allocations: 0.5947 MB / 0.5194 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.5248, allocations: 104.8 kB / 0.5195 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.5249, allocations: 47.38 kB / 0.5195 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.5251, allocations: 19.98 kB / 0.5195 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.5252, allocations: 19.98 kB / 0.5196 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.5252, allocations: 11.98 kB / 0.5196 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.5255, allocations: 275.1 kB / 0.5198 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5255, allocations: 0 / 0.5198 GB, free: 12.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001878/0.5274, allocations: 435.6 kB / 0.5202 GB, free: 12.13 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002548/0.5299, allocations: 1.711 MB / 0.5219 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006614/0.5306, allocations: 364.3 kB / 0.5223 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5306, allocations: 4.062 kB / 0.5223 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.5309, allocations: 241.4 kB / 0.5225 GB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.5317, allocations: 118.6 kB / 0.5226 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.178/1.709, allocations: 0.4951 GB / 1.018 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/1.71, allocations: 0.8218 MB / 1.018 GB, free: 142.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004298/1.71, allocations: 169.2 kB / 1.019 GB, free: 142.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1.71, allocations: 164.5 kB / 1.019 GB, free: 142.5 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/1.71, allocations: 0 / 1.019 GB, free: 142.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0905/1.801, allocations: 19.51 MB / 1.038 GB, free: 132.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.801, allocations: 261.6 kB / 1.038 GB, free: 132.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/4.284, allocations: 2.625 kB / 1.038 GB, free: 132.6 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches