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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 113 kB / 18.49 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 213.4 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2211/0.2211, allocations: 44.9 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1387, allocations: 65.43 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008343/0.1471, allocations: 5.334 MB / 0.5577 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.1505, allocations: 2.651 MB / 0.5603 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1506, allocations: 4 kB / 0.5603 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1509, allocations: 47.67 kB / 0.5603 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.154, allocations: 1.109 MB / 0.5614 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1544, allocations: 147.6 kB / 0.5615 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005191/0.1549, allocations: 306.4 kB / 0.5618 GB, free: 488 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.155, allocations: 9.562 kB / 0.5618 GB, free: 480 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.1563, allocations: 0.7485 MB / 0.5626 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1566, allocations: 155.5 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.1566, allocations: 8 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.1589, allocations: 1.343 MB / 0.564 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.159, allocations: 39.83 kB / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1591, allocations: 79.66 kB / 0.5642 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009427/0.16, allocations: 0.5375 MB / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.16, allocations: 0 / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.16, allocations: 0 / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1601, allocations: 0 / 0.5647 GB, free: 13.56 MB / 430.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.001084/0.1611, allocations: 0.576 MB / 0.5652 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1612, allocations: 8.031 kB / 0.5652 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.1612, allocations: 12.19 kB / 0.5653 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.1613, allocations: 50.73 kB / 0.5653 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.1617, allocations: 48.8 kB / 0.5654 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1621, allocations: 208.2 kB / 0.5656 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1621, allocations: 19.94 kB / 0.5656 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.1621, allocations: 19.94 kB / 0.5656 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.1626, allocations: 233.8 kB / 0.5658 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1626, allocations: 11.92 kB / 0.5658 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.1626, allocations: 8 kB / 0.5658 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1627, allocations: 4 kB / 0.5658 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.163, allocations: 232.6 kB / 0.5661 GB, free: 12.02 MB / 430.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.001528/0.1646, allocations: 1.369 MB / 0.5674 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.1648, allocations: 74.61 kB / 0.5675 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.1649, allocations: 47.36 kB / 0.5675 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/0.1668, allocations: 2.055 MB / 0.5695 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.167, allocations: 167 kB / 0.5697 GB, free: 7.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/0.1671, allocations: 3.938 kB / 0.5697 GB, free: 7.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001007/0.1681, allocations: 368.2 kB / 0.57 GB, free: 7.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.1682, allocations: 265 kB / 0.5703 GB, free: 7.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1684, allocations: 144.7 kB / 0.5704 GB, free: 6.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1684, allocations: 33.7 kB / 0.5705 GB, free: 6.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1685, allocations: 156 kB / 0.5706 GB, free: 6.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.1686, allocations: 67.44 kB / 0.5707 GB, free: 6.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.1687, allocations: 65.64 kB / 0.5707 GB, free: 6.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1688, allocations: 326.8 kB / 0.571 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.1689, allocations: 39.97 kB / 0.5711 GB, free: 6.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.1691, allocations: 190.5 kB / 0.5713 GB, free: 5.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.1695, allocations: 250.6 kB / 0.5715 GB, free: 5.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1695, allocations: 4 kB / 0.5715 GB, free: 5.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004647/0.17, allocations: 253.1 kB / 0.5717 GB, free: 5.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.17, allocations: 10.12 kB / 0.5718 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.17, allocations: 12 kB / 0.5718 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.17, allocations: 4 kB / 0.5718 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.1705, allocations: 108.5 kB / 0.5719 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004292/0.171, allocations: 0.6015 MB / 0.5725 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1711, allocations: 11.94 kB / 0.5725 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.1712, allocations: 23.98 kB / 0.5725 GB, free: 4.551 MB / 430.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.0001515/0.1713, allocations: 135.9 kB / 0.5726 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.1714, allocations: 23.91 kB / 0.5726 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.1719, allocations: 240.5 kB / 0.5729 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.1719, allocations: 7.938 kB / 0.5729 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1719, allocations: 0 / 0.5729 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1719, allocations: 0 / 0.5729 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.1724, allocations: 436.9 kB / 0.5733 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1724, allocations: 8.078 kB / 0.5733 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.1728, allocations: 47.91 kB / 0.5734 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1728, allocations: 4 kB / 0.5734 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1728, allocations: 7.984 kB / 0.5734 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000377/0.1732, allocations: 0.5782 MB / 0.5739 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.1732, allocations: 7.969 kB / 0.5739 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1734, allocations: 146.8 kB / 0.5741 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.55e-05/0.1735, allocations: 101 kB / 0.5742 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1735, allocations: 11.89 kB / 0.5742 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1737, allocations: 7.938 kB / 0.5742 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.1737, allocations: 11.98 kB / 0.5742 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.1737, allocations: 4 kB / 0.5742 GB, free: 2.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1738, allocations: 131.2 kB / 0.5743 GB, free: 2.488 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1738, allocations: 4 kB / 0.5743 GB, free: 2.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005844/0.1744, allocations: 135.7 kB / 0.5745 GB, free: 2.352 MB / 430.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.000925/0.1754, allocations: 0.8285 MB / 0.5753 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.1759, allocations: 151.7 kB / 0.5754 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1759, allocations: 1.312 kB / 0.5754 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1761, allocations: 55.83 kB / 0.5755 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1765, allocations: 52.3 kB / 0.5755 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.18, allocations: 2.538 MB / 0.578 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1803, allocations: 0.7128 MB / 0.5787 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.1806, allocations: 73.7 kB / 0.5788 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1807, allocations: 55.41 kB / 0.5788 GB, free: 13.61 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1807, allocations: 0 / 0.5788 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.2078, allocations: 6.626 MB / 0.5853 GB, free: 7.211 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.47, allocations: 3.984 kB / 0.5853 GB, free: 7.207 MB / 446.1 MB " [Timeout remaining time 647] (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 --stepSize=1.9992e-05 --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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.86111451400211]