Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 118 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 75.67 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1066, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007404/0.114, allocations: 5.35 MB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1169, allocations: 2.636 MB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.117, allocations: 0 / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.1173, allocations: 27.83 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.1199, allocations: 1.019 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1202, allocations: 147.1 kB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.1206, allocations: 290.7 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.1207, allocations: 17.55 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.122, allocations: 0.8653 MB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.1223, allocations: 159.5 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1223, allocations: 8 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.1243, allocations: 1.423 MB / 491.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.107e-05/0.1244, allocations: 35.83 kB / 491.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1245, allocations: 79.66 kB / 491.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.1256, allocations: 0.5535 MB / 492.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1256, allocations: 0 / 492.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1256, allocations: 4 kB / 492.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.1256, allocations: 3.938 kB / 492.2 MB, free: 8.879 MB / 366.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.001099/0.1267, allocations: 0.5614 MB / 492.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1268, allocations: 8.031 kB / 492.8 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.756e-05/0.1269, allocations: 50.73 kB / 492.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.1273, allocations: 44.72 kB / 492.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1276, allocations: 216 kB / 493.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1277, allocations: 20.12 kB / 493.1 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1277, allocations: 16 kB / 493.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.1282, allocations: 240.5 kB / 493.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1282, allocations: 3.938 kB / 493.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.1282, allocations: 16 kB / 493.4 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1282, allocations: 4 kB / 493.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.1286, allocations: 225.4 kB / 493.6 MB, free: 7.363 MB / 366.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.001388/0.13, allocations: 1.372 MB / 495 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1302, allocations: 86.61 kB / 495 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.1303, allocations: 40.84 kB / 495.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/0.1319, allocations: 2.051 MB / 497.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.1322, allocations: 181.6 kB / 497.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.1322, allocations: 0 / 497.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009093/0.1331, allocations: 356.6 kB / 497.7 MB, free: 2.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1332, allocations: 269 kB / 497.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1333, allocations: 149.7 kB / 498.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1334, allocations: 33.69 kB / 498.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.1335, allocations: 139.8 kB / 498.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.1335, allocations: 71.08 kB / 498.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.1336, allocations: 61.61 kB / 498.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.1337, allocations: 326.8 kB / 498.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.1338, allocations: 43.97 kB / 498.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.134, allocations: 190.6 kB / 498.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1343, allocations: 262.3 kB / 499.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1343, allocations: 0 / 499.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004065/0.1347, allocations: 257.6 kB / 499.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1348, allocations: 8 kB / 499.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1348, allocations: 4 kB / 499.4 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1348, allocations: 8 kB / 499.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.1353, allocations: 99.81 kB / 499.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003275/0.1356, allocations: 0.5975 MB / 0.4884 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1358, allocations: 20.19 kB / 0.4884 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.1358, allocations: 20 kB / 0.4885 GB, free: 15.9 MB / 382.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.0001154/0.1359, allocations: 133.8 kB / 0.4886 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.136, allocations: 19.8 kB / 0.4886 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.1364, allocations: 231.8 kB / 0.4888 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1365, allocations: 3.938 kB / 0.4888 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1365, allocations: 3.938 kB / 0.4888 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1365, allocations: 4 kB / 0.4888 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.1369, allocations: 440.8 kB / 0.4893 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1369, allocations: 0 / 0.4893 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.1372, allocations: 59.89 kB / 0.4893 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1372, allocations: 8.031 kB / 0.4893 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1373, allocations: 4.188 kB / 0.4893 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000257/0.1375, allocations: 0.5782 MB / 0.4899 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1375, allocations: 3.938 kB / 0.4899 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1377, allocations: 154.6 kB / 0.49 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.1378, allocations: 93 kB / 0.4901 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.1379, allocations: 7.938 kB / 0.4901 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.138, allocations: 11.98 kB / 0.4901 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.1381, allocations: 4 kB / 0.4901 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1381, allocations: 15.98 kB / 0.4902 GB, free: 13.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.409e-05/0.1382, allocations: 127.7 kB / 0.4903 GB, free: 13.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1382, allocations: 0 / 0.4903 GB, free: 13.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005103/0.1387, allocations: 143.9 kB / 0.4904 GB, free: 13.7 MB / 382.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.0009702/0.1397, allocations: 0.8385 MB / 0.4912 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.1402, allocations: 160.3 kB / 0.4914 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1402, allocations: 4 kB / 0.4914 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.1404, allocations: 51.89 kB / 0.4914 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1408, allocations: 56.83 kB / 0.4915 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.1438, allocations: 2.563 MB / 0.494 GB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1441, allocations: 0.7167 MB / 0.4947 GB, free: 9.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000291/0.1444, allocations: 77.7 kB / 0.4948 GB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.1445, allocations: 59.41 kB / 0.4948 GB, free: 8.902 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1445, allocations: 0 / 0.4948 GB, free: 8.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.1636, allocations: 6.563 MB / 0.5012 GB, free: 2.574 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.1638, allocations: 295.9 kB / 0.5015 GB, free: 2.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.242, allocations: 0 / 0.5015 GB, free: 2.195 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches