Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.001083/0.001083, allocations: 102.9 kB / 16.4 MB, free: 6.492 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.001156/0.001156, allocations: 185.5 kB / 17.34 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.296/1.296, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1906/0.1906, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001457/0.001457, allocations: 71.91 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09877, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.009848/0.1087, allocations: 8.142 MB / 0.4954 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1109, allocations: 1.897 MB / 0.4972 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.1111, allocations: 4 kB / 0.4972 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1114, allocations: 51.67 kB / 0.4973 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.1143, allocations: 1.292 MB / 0.4986 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1146, allocations: 147.7 kB / 0.4987 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.115, allocations: 310.6 kB / 0.499 GB, free: 376 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.1151, allocations: 9.562 kB / 0.499 GB, free: 368 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1162, allocations: 0.7328 MB / 0.4997 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.1165, allocations: 155.5 kB / 0.4999 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1165, allocations: 4 kB / 0.4999 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.1186, allocations: 1.501 MB / 0.5013 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.1187, allocations: 35.84 kB / 0.5014 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.1188, allocations: 79.64 kB / 0.5014 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1199, allocations: 0.6393 MB / 0.5021 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1199, allocations: 4 kB / 0.5021 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1199, allocations: 0 / 0.5021 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1199, allocations: 0 / 0.5021 GB, free: 13.21 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009775/0.1209, allocations: 0.5964 MB / 0.5027 GB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1209, allocations: 11.89 kB / 0.5027 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.121, allocations: 54.73 kB / 0.5027 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004532/0.1214, allocations: 44.72 kB / 0.5028 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1217, allocations: 220.2 kB / 0.503 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1217, allocations: 12.38 kB / 0.503 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1218, allocations: 16.38 kB / 0.503 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.1221, allocations: 244.7 kB / 0.5032 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1222, allocations: 0 / 0.5032 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.1222, allocations: 8 kB / 0.5032 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1222, allocations: 4 kB / 0.5032 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.1226, allocations: 240.5 kB / 0.5035 GB, free: 11.65 MB / 398.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.001205/0.1238, allocations: 1.368 MB / 0.5048 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.124, allocations: 86.61 kB / 0.5049 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.124, allocations: 44.83 kB / 0.5049 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/0.126, allocations: 2.637 MB / 0.5075 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.1262, allocations: 173.6 kB / 0.5077 GB, free: 6.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.1262, allocations: 0 / 0.5077 GB, free: 6.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.000875/0.1271, allocations: 364.2 kB / 0.508 GB, free: 6.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1272, allocations: 265.2 kB / 0.5083 GB, free: 5.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1274, allocations: 149.7 kB / 0.5084 GB, free: 5.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1274, allocations: 37.64 kB / 0.5085 GB, free: 5.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.1275, allocations: 147.7 kB / 0.5086 GB, free: 5.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.1275, allocations: 63.36 kB / 0.5087 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.1276, allocations: 65.69 kB / 0.5087 GB, free: 5.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.1277, allocations: 322.8 kB / 0.509 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.1278, allocations: 43.97 kB / 0.5091 GB, free: 5.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.128, allocations: 190.7 kB / 0.5092 GB, free: 4.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.1283, allocations: 258.6 kB / 0.5095 GB, free: 4.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1283, allocations: 0 / 0.5095 GB, free: 4.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004159/0.1287, allocations: 269.2 kB / 0.5098 GB, free: 4.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1287, allocations: 8 kB / 0.5098 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1287, allocations: 4 kB / 0.5098 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1288, allocations: 8 kB / 0.5098 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.1292, allocations: 99.81 kB / 0.5099 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003229/0.1296, allocations: 0.5981 MB / 0.5104 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1297, allocations: 15.91 kB / 0.5105 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.1298, allocations: 20 kB / 0.5105 GB, free: 3.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001273/0.1299, allocations: 145.5 kB / 0.5106 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.1299, allocations: 15.89 kB / 0.5106 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.1304, allocations: 239.7 kB / 0.5109 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1304, allocations: 7.938 kB / 0.5109 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1304, allocations: 3.938 kB / 0.5109 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1304, allocations: 3.984 kB / 0.5109 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.1307, allocations: 225.6 kB / 0.5111 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1307, allocations: 4.062 kB / 0.5111 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.131, allocations: 55.95 kB / 0.5112 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.131, allocations: 0 / 0.5112 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.131, allocations: 4 kB / 0.5112 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002522/0.1313, allocations: 0.5859 MB / 0.5117 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1313, allocations: 0 / 0.5117 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1315, allocations: 146.7 kB / 0.5119 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.1316, allocations: 100.9 kB / 0.512 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1316, allocations: 3.906 kB / 0.512 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1318, allocations: 11.98 kB / 0.512 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.1318, allocations: 11.92 kB / 0.512 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1318, allocations: 12 kB / 0.512 GB, free: 1.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.452e-05/0.1319, allocations: 123.2 kB / 0.5121 GB, free: 1.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1319, allocations: 7.938 kB / 0.5121 GB, free: 1.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.1325, allocations: 171.9 kB / 0.5123 GB, free: 1.473 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001032/0.1335, allocations: 0.917 MB / 0.5132 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004761/0.134, allocations: 156.9 kB / 0.5133 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.134, allocations: 4.062 kB / 0.5133 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.1342, allocations: 47.91 kB / 0.5134 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.1346, allocations: 51.94 kB / 0.5134 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.1374, allocations: 2.532 MB / 0.5159 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1376, allocations: 0.7128 MB / 0.5166 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.1379, allocations: 77.64 kB / 0.5167 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.138, allocations: 51.42 kB / 0.5167 GB, free: 12.65 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.138, allocations: 4 kB / 0.5167 GB, free: 12.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.1643, allocations: 7.398 MB / 0.524 GB, free: 5.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.28, allocations: 11.92 kB / 0.524 GB, free: 5.242 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches