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.001626/0.001626, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002017/0.002017, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.526/1.526, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.223/0.223, allocations: 46.93 MB / 357.1 MB, free: 10.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 63.91 kB / 0.491 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1326, allocations: 65.99 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008491/0.1411, allocations: 5.334 MB / 0.5606 GB, free: 460 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.1448, allocations: 2.667 MB / 0.5632 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.145, allocations: 3.938 kB / 0.5632 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.1453, allocations: 39.69 kB / 0.5633 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.1487, allocations: 1.069 MB / 0.5643 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.1491, allocations: 155.6 kB / 0.5644 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.1496, allocations: 302.4 kB / 0.5647 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.1497, allocations: 9.562 kB / 0.5647 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.1509, allocations: 0.6509 MB / 0.5654 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.1512, allocations: 151.6 kB / 0.5655 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.1512, allocations: 4 kB / 0.5655 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.1535, allocations: 1.238 MB / 0.5667 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.027e-05/0.1536, allocations: 35.83 kB / 0.5668 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1537, allocations: 79.59 kB / 0.5668 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.1549, allocations: 0.5298 MB / 0.5674 GB, free: 9.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1549, allocations: 4 kB / 0.5674 GB, free: 9.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1549, allocations: 0 / 0.5674 GB, free: 9.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1549, allocations: 0 / 0.5674 GB, free: 9.512 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.001198/0.1561, allocations: 0.576 MB / 0.5679 GB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1562, allocations: 12.03 kB / 0.5679 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.886e-05/0.1563, allocations: 50.67 kB / 0.568 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.1567, allocations: 48.8 kB / 0.568 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1571, allocations: 220.1 kB / 0.5682 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1571, allocations: 16.12 kB / 0.5683 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1571, allocations: 12 kB / 0.5683 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.1576, allocations: 248.7 kB / 0.5685 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1576, allocations: 0 / 0.5685 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.1577, allocations: 11.98 kB / 0.5685 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1577, allocations: 4 kB / 0.5685 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.1581, allocations: 236.5 kB / 0.5688 GB, free: 7.965 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.001538/0.1596, allocations: 1.357 MB / 0.5701 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.1598, allocations: 82.55 kB / 0.5702 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.1599, allocations: 40.84 kB / 0.5702 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/0.1617, allocations: 2.051 MB / 0.5722 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.162, allocations: 169 kB / 0.5724 GB, free: 3.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.162, allocations: 0 / 0.5724 GB, free: 3.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001025/0.163, allocations: 365.2 kB / 0.5727 GB, free: 3.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.1632, allocations: 273 kB / 0.573 GB, free: 2.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1633, allocations: 155.8 kB / 0.5731 GB, free: 2.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1634, allocations: 25.7 kB / 0.5731 GB, free: 2.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1635, allocations: 152.1 kB / 0.5733 GB, free: 2.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.1635, allocations: 71.38 kB / 0.5734 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.1636, allocations: 61.64 kB / 0.5734 GB, free: 2.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1638, allocations: 330.8 kB / 0.5737 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.1639, allocations: 39.97 kB / 0.5738 GB, free: 2.121 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1641, allocations: 194.5 kB / 0.574 GB, free: 1.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.1644, allocations: 250.6 kB / 0.5742 GB, free: 1.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1644, allocations: 0 / 0.5742 GB, free: 1.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004811/0.1649, allocations: 269.2 kB / 0.5744 GB, free: 1.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1649, allocations: 8 kB / 0.5745 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1649, allocations: 4 kB / 0.5745 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1649, allocations: 8 kB / 0.5745 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.1654, allocations: 107.8 kB / 0.5746 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003986/0.1658, allocations: 0.5937 MB / 0.5751 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.166, allocations: 20.23 kB / 0.5752 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.166, allocations: 20 kB / 0.5752 GB, free: 0.5039 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.0001465/0.1662, allocations: 147.8 kB / 0.5753 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.1662, allocations: 15.91 kB / 0.5753 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.1667, allocations: 228.5 kB / 0.5756 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1667, allocations: 4.062 kB / 0.5756 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1667, allocations: 3.938 kB / 0.5756 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1667, allocations: 4 kB / 0.5756 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.1673, allocations: 436.8 kB / 0.576 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1673, allocations: 0 / 0.576 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.1676, allocations: 55.95 kB / 0.576 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.1676, allocations: 3.938 kB / 0.576 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1676, allocations: 7.984 kB / 0.5761 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003379/0.168, allocations: 0.5898 MB / 0.5766 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.168, allocations: 0 / 0.5766 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1682, allocations: 142.7 kB / 0.5768 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.1683, allocations: 101.1 kB / 0.5769 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1683, allocations: 7.953 kB / 0.5769 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1685, allocations: 12 kB / 0.5769 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1685, allocations: 11.92 kB / 0.5769 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1685, allocations: 11.98 kB / 0.5769 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1686, allocations: 123.2 kB / 0.577 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1686, allocations: 0 / 0.577 GB, free: 14.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005353/0.1692, allocations: 147.6 kB / 0.5772 GB, free: 14.3 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.0009659/0.1701, allocations: 0.8287 MB / 0.578 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.1707, allocations: 156.4 kB / 0.5781 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1707, allocations: 0 / 0.5781 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.1709, allocations: 47.89 kB / 0.5782 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.1713, allocations: 50.36 kB / 0.5782 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.1747, allocations: 2.527 MB / 0.5807 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.175, allocations: 0.7089 MB / 0.5814 GB, free: 9.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.1752, allocations: 81.7 kB / 0.5815 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.1754, allocations: 59.39 kB / 0.5815 GB, free: 9.566 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1754, allocations: 0 / 0.5815 GB, free: 9.566 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.2094, allocations: 6.588 MB / 0.5879 GB, free: 3.176 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.4, allocations: 4.062 kB / 0.5879 GB, free: 3.172 MB / 446.1 MB " [Timeout remaining time 648] (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: 16.071183676132932]