Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_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.001106/0.001109, allocations: 108.6 kB / 17.21 MB, free: 6.273 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.001162/0.001162, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2138/0.2138, allocations: 44.17 MB / 336.1 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.78 kB / 407.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1215, allocations: 60.84 MB / 468.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.00687/0.1284, allocations: 5.349 MB / 474 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.1313, allocations: 2.675 MB / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.694e-05/0.1313, allocations: 4 kB / 476.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1316, allocations: 35.81 kB / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.1339, allocations: 0.9811 MB / 477.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1342, allocations: 149.8 kB / 477.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.1346, allocations: 334.6 kB / 478.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.1347, allocations: 9.562 kB / 478.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.1359, allocations: 0.8498 MB / 479 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1362, allocations: 163.4 kB / 479.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1362, allocations: 8 kB / 479.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.1384, allocations: 1.361 MB / 480.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.1384, allocations: 39.77 kB / 480.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.1385, allocations: 75.66 kB / 480.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007827/0.1393, allocations: 0.534 MB / 481.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1394, allocations: 3.984 kB / 481.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1394, allocations: 0 / 481.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1394, allocations: 4 kB / 481.2 MB, free: 2.082 MB / 350.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.0009417/0.1403, allocations: 0.5537 MB / 481.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1404, allocations: 12.03 kB / 481.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.1404, allocations: 50.73 kB / 481.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.1409, allocations: 44.7 kB / 481.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1411, allocations: 216.1 kB / 482.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1412, allocations: 16.12 kB / 482.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1412, allocations: 16 kB / 482.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.1416, allocations: 249.7 kB / 482.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1416, allocations: 0 / 482.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1417, allocations: 8 kB / 482.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1417, allocations: 4 kB / 482.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.142, allocations: 240.5 kB / 482.6 MB, free: 0.5625 MB / 350.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.001266/0.1433, allocations: 1.357 MB / 483.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1435, allocations: 86.55 kB / 484 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.1436, allocations: 40.84 kB / 484.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.1451, allocations: 2.063 MB / 486.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.1454, allocations: 173.4 kB / 486.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1454, allocations: 0 / 486.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009124/0.1464, allocations: 347.2 kB / 486.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.1465, allocations: 270 kB / 486.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1467, allocations: 151.8 kB / 487.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1467, allocations: 33.7 kB / 487.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.1468, allocations: 143.7 kB / 487.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.1468, allocations: 67.09 kB / 487.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.1469, allocations: 65.59 kB / 487.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1471, allocations: 326.8 kB / 487.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.1472, allocations: 43.97 kB / 487.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1473, allocations: 186.8 kB / 487.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.1476, allocations: 250.6 kB / 488.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1477, allocations: 4 kB / 488.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004095/0.1481, allocations: 256.1 kB / 488.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1481, allocations: 4.656 kB / 488.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1481, allocations: 12 kB / 488.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1481, allocations: 4.656 kB / 488.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.1486, allocations: 103.8 kB / 488.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003408/0.1489, allocations: 0.5976 MB / 489.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1491, allocations: 15.88 kB / 489.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.1492, allocations: 20 kB / 489.2 MB, free: 9.125 MB / 366.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.0001115/0.1493, allocations: 145.5 kB / 489.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.1493, allocations: 15.81 kB / 489.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.1498, allocations: 239.7 kB / 489.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1498, allocations: 0 / 489.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1498, allocations: 12 kB / 489.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1498, allocations: 0 / 489.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.1503, allocations: 444.9 kB / 490 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1503, allocations: 0 / 490 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.1506, allocations: 51.89 kB / 490 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1506, allocations: 11.88 kB / 490.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1507, allocations: 4 kB / 490.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002944/0.151, allocations: 0.586 MB / 490.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.151, allocations: 4.031 kB / 490.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1512, allocations: 142.5 kB / 490.8 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/0.1513, allocations: 96.98 kB / 490.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.1513, allocations: 20.03 kB / 490.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1515, allocations: 0 / 490.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.1515, allocations: 11.98 kB / 490.9 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1515, allocations: 8 kB / 490.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1516, allocations: 131.7 kB / 491 MB, free: 7.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1516, allocations: 0 / 491 MB, free: 7.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005234/0.1522, allocations: 135.9 kB / 491.2 MB, free: 6.914 MB / 366.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.001045/0.1532, allocations: 0.8392 MB / 492 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000491/0.1537, allocations: 164.8 kB / 492.2 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1537, allocations: 4.125 kB / 492.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.1539, allocations: 47.91 kB / 492.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1543, allocations: 51.94 kB / 492.3 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.1575, allocations: 2.535 MB / 494.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1578, allocations: 0.7167 MB / 495.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.1581, allocations: 73.7 kB / 495.6 MB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1583, allocations: 63.41 kB / 495.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1583, allocations: 192 / 495.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.1788, allocations: 6.339 MB / 0.4902 GB, free: 12.03 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.179, allocations: 297.7 kB / 0.4905 GB, free: 11.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.266, allocations: 3.75 kB / 0.4905 GB, free: 11.65 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches