Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008893/0.0008891, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007989/0.000799, allocations: 85.03 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.319/0.319, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 16 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.2283/0.3488, allocations: 25.23 MB / 0.5041 GB, free: 33.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3605, allocations: 12.14 MB / 0.5159 GB, free: 24.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.3608, allocations: 1.125 kB / 0.5159 GB, free: 24.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.3611, allocations: 70.88 kB / 0.516 GB, free: 24.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01956/0.3807, allocations: 6.751 MB / 0.5226 GB, free: 21.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.3816, allocations: 379.8 kB / 0.5229 GB, free: 21.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.3822, allocations: 0.5795 MB / 0.5235 GB, free: 21.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.3822, allocations: 13.94 kB / 0.5235 GB, free: 21.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.3824, allocations: 180.1 kB / 0.5237 GB, free: 21.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01311/0.3956, allocations: 11.36 MB / 0.5348 GB, free: 20.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.3957, allocations: 12.97 kB / 0.5348 GB, free: 20.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02456/0.4203, allocations: 13.02 MB / 0.5475 GB, free: 15.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4204, allocations: 90.33 kB / 0.5476 GB, free: 15.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.4206, allocations: 166 kB / 0.5478 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.4312, allocations: 4.423 MB / 0.5521 GB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4312, allocations: 3.984 kB / 0.5521 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4312, allocations: 4 kB / 0.5521 GB, free: 12.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4312, allocations: 0 / 0.5521 GB, free: 12.16 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003859/0.4351, allocations: 1.454 MB / 0.5535 GB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4351, allocations: 12.03 kB / 0.5535 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.4352, allocations: 62.48 kB / 0.5536 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.4353, allocations: 39.7 kB / 0.5536 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.4355, allocations: 238.7 kB / 0.5538 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4356, allocations: 20.56 kB / 0.5539 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.4356, allocations: 27.98 kB / 0.5539 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.4362, allocations: 0.513 MB / 0.5544 GB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4363, allocations: 0 / 0.5544 GB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.4363, allocations: 19.92 kB / 0.5544 GB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.4363, allocations: 28.48 kB / 0.5544 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.4371, allocations: 0.9115 MB / 0.5553 GB, free: 8.715 MB / 378.7 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.001495/0.4386, allocations: 1.906 MB / 0.5572 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.4392, allocations: 268.2 kB / 0.5574 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.4394, allocations: 109.4 kB / 0.5575 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01619/0.4555, allocations: 15.75 MB / 0.5729 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.4561, allocations: 248.4 kB / 0.5732 GB, free: 3.246 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/0.4561, allocations: 0 / 0.5732 GB, free: 3.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002051/0.4581, allocations: 0.7818 MB / 0.5739 GB, free: 2.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.4583, allocations: 265 kB / 0.5742 GB, free: 2.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.4585, allocations: 195.8 kB / 0.5744 GB, free: 1.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4585, allocations: 33.7 kB / 0.5744 GB, free: 1.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.4587, allocations: 199.4 kB / 0.5746 GB, free: 1.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.4588, allocations: 126.3 kB / 0.5747 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.4588, allocations: 12.19 kB / 0.5747 GB, free: 1.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4589, allocations: 338.7 kB / 0.575 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.4591, allocations: 93.06 kB / 0.5751 GB, free: 1.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.4595, allocations: 365.5 kB / 0.5755 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.4601, allocations: 0.5019 MB / 0.576 GB, free: 4 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4601, allocations: 4 kB / 0.576 GB, free: 0 / 394.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001092/0.4612, allocations: 0.4973 MB / 0.5765 GB, free: 15.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4613, allocations: 8 kB / 0.5765 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4613, allocations: 15.94 kB / 0.5765 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4613, allocations: 12 kB / 0.5765 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.4619, allocations: 179.7 kB / 0.5767 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000551/0.4625, allocations: 1.192 MB / 0.5778 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.4628, allocations: 31.84 kB / 0.5779 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.4628, allocations: 43.98 kB / 0.5779 GB, free: 13.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.463, allocations: 177.8 kB / 0.5781 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.4632, allocations: 31.72 kB / 0.5781 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009522/0.4641, allocations: 489.3 kB / 0.5786 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4642, allocations: 4.031 kB / 0.5786 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4642, allocations: 7.938 kB / 0.5786 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4642, allocations: 3.984 kB / 0.5786 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008326/0.465, allocations: 0.5923 MB / 0.5792 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.465, allocations: 7.938 kB / 0.5792 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.4654, allocations: 89.61 kB / 0.5793 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4654, allocations: 0 / 0.5793 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.4654, allocations: 11.98 kB / 0.5793 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004864/0.4659, allocations: 1.176 MB / 0.5804 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4659, allocations: 192 / 0.5804 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.4664, allocations: 319.3 kB / 0.5807 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/0.4665, allocations: 120.7 kB / 0.5808 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.4666, allocations: 19.92 kB / 0.5809 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.4668, allocations: 13.38 kB / 0.5809 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.4669, allocations: 19.91 kB / 0.5809 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.4669, allocations: 19.98 kB / 0.5809 GB, free: 10.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.4671, allocations: 164.5 kB / 0.5811 GB, free: 10.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4671, allocations: 0 / 0.5811 GB, free: 10.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004242/0.4713, allocations: 1.628 MB / 0.5826 GB, free: 8.895 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008971/0.4803, allocations: 3.012 MB / 0.5856 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.4815, allocations: 324.5 kB / 0.5859 GB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4815, allocations: 0 / 0.5859 GB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004048/0.4819, allocations: 124.3 kB / 0.586 GB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.4826, allocations: 66.8 kB / 0.5861 GB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3756/0.8581, allocations: 142 MB / 0.7248 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.8583, allocations: 0.7548 MB / 0.7255 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.8586, allocations: 112.2 kB / 0.7256 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/0.8586, allocations: 0 / 0.7256 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.269/8.127, allocations: 35.87 MB / 0.7606 GB, free: 122.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches