Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.001402/0.001402, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001361/0.001361, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.445/1.445, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Glycol47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 71.89 kB / 0.4916 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.138, allocations: 65.99 MB / 0.5561 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007868/0.1459, allocations: 5.328 MB / 0.5613 GB, free: 472 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.1492, allocations: 2.659 MB / 0.5639 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.1493, allocations: 4 kB / 0.5639 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1495, allocations: 35.75 kB / 0.5639 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.1524, allocations: 1.085 MB / 0.565 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1528, allocations: 151.1 kB / 0.5651 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004892/0.1533, allocations: 306.4 kB / 0.5654 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.1533, allocations: 5.562 kB / 0.5654 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1545, allocations: 0.6509 MB / 0.5661 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.1547, allocations: 155.5 kB / 0.5662 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.1548, allocations: 8 kB / 0.5662 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.1571, allocations: 1.225 MB / 0.5674 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.1572, allocations: 43.77 kB / 0.5675 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1573, allocations: 75.66 kB / 0.5675 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1583, allocations: 0.5297 MB / 0.5681 GB, free: 9.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.1583, allocations: 7.984 kB / 0.5681 GB, free: 9.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1583, allocations: 0 / 0.5681 GB, free: 9.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1583, allocations: 0 / 0.5681 GB, free: 9.52 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.001244/0.1595, allocations: 0.5682 MB / 0.5686 GB, free: 8.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1596, allocations: 12.03 kB / 0.5686 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.359e-05/0.1596, allocations: 4.188 kB / 0.5686 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.1597, allocations: 54.73 kB / 0.5687 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.1601, allocations: 48.8 kB / 0.5687 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.1605, allocations: 208.2 kB / 0.5689 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1605, allocations: 19.88 kB / 0.5689 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1605, allocations: 16 kB / 0.569 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.161, allocations: 248.7 kB / 0.5692 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.161, allocations: 3.938 kB / 0.5692 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.161, allocations: 12 kB / 0.5692 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1611, allocations: 4 kB / 0.5692 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.1614, allocations: 224.6 kB / 0.5694 GB, free: 7.984 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.001483/0.1629, allocations: 1.372 MB / 0.5708 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1631, allocations: 78.61 kB / 0.5708 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.1632, allocations: 36.84 kB / 0.5709 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.165, allocations: 2.063 MB / 0.5729 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.1653, allocations: 163 kB / 0.5731 GB, free: 3.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.1653, allocations: 4 kB / 0.5731 GB, free: 3.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001024/0.1663, allocations: 364.2 kB / 0.5734 GB, free: 3.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.1665, allocations: 262 kB / 0.5737 GB, free: 2.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1667, allocations: 153.3 kB / 0.5738 GB, free: 2.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.1667, allocations: 37.7 kB / 0.5738 GB, free: 2.785 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1668, allocations: 152.1 kB / 0.574 GB, free: 2.633 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.1669, allocations: 67.38 kB / 0.574 GB, free: 2.566 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.167, allocations: 65.64 kB / 0.5741 GB, free: 2.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1671, allocations: 326.8 kB / 0.5744 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.1672, allocations: 43.91 kB / 0.5745 GB, free: 2.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.1674, allocations: 190.5 kB / 0.5746 GB, free: 1.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.1678, allocations: 255.2 kB / 0.5749 GB, free: 1.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1678, allocations: 4 kB / 0.5749 GB, free: 1.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004636/0.1682, allocations: 253.1 kB / 0.5751 GB, free: 1.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1683, allocations: 8 kB / 0.5751 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1683, allocations: 4 kB / 0.5751 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.1683, allocations: 8.656 kB / 0.5752 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.1688, allocations: 107.8 kB / 0.5753 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004409/0.1692, allocations: 0.5975 MB / 0.5758 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1694, allocations: 16 kB / 0.5759 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.1694, allocations: 19.98 kB / 0.5759 GB, free: 0.5156 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.0001577/0.1696, allocations: 135.9 kB / 0.576 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.1696, allocations: 24 kB / 0.576 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.1701, allocations: 223.9 kB / 0.5762 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.1701, allocations: 7.938 kB / 0.5762 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1702, allocations: 0 / 0.5762 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1702, allocations: 0 / 0.5762 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.1707, allocations: 452.9 kB / 0.5767 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1707, allocations: 0 / 0.5767 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.1711, allocations: 59.84 kB / 0.5767 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1711, allocations: 0 / 0.5767 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1711, allocations: 7.984 kB / 0.5767 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003654/0.1714, allocations: 0.5822 MB / 0.5773 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1714, allocations: 3.938 kB / 0.5773 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1717, allocations: 150.7 kB / 0.5775 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.1718, allocations: 97.03 kB / 0.5776 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.1718, allocations: 7.953 kB / 0.5776 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1719, allocations: 4 kB / 0.5776 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.172, allocations: 11.98 kB / 0.5776 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.172, allocations: 8 kB / 0.5776 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1721, allocations: 131.2 kB / 0.5777 GB, free: 14.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 0 / 0.5777 GB, free: 14.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006019/0.1727, allocations: 139.8 kB / 0.5778 GB, free: 14.32 MB / 446.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.001024/0.1738, allocations: 0.8324 MB / 0.5787 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005387/0.1743, allocations: 155.6 kB / 0.5788 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1743, allocations: 1.312 kB / 0.5788 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1745, allocations: 51.89 kB / 0.5789 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.1749, allocations: 56.02 kB / 0.5789 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.1783, allocations: 2.532 MB / 0.5814 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.1788, allocations: 0.7168 MB / 0.5821 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.179, allocations: 73.83 kB / 0.5821 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1791, allocations: 55.41 kB / 0.5822 GB, free: 9.574 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1791, allocations: 0 / 0.5822 GB, free: 9.574 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.204, allocations: 6.629 MB / 0.5887 GB, free: 3.168 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.43, allocations: 6.469 kB / 0.5887 GB, free: 3.164 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.851164129038807]