Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001821/0.001821, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002161/0.002161, allocations: 212.3 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2516/0.2516, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002338/0.002338, allocations: 74.17 kB / 467.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1535, allocations: 61.05 MB / 0.5162 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003704/0.1572, allocations: 1.75 MB / 0.5179 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.1598, allocations: 1.536 MB / 0.5194 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.1599, allocations: 7.938 kB / 0.5194 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.1602, allocations: 55.75 kB / 0.5195 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.1605, allocations: 95.53 kB / 0.5196 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1609, allocations: 135.7 kB / 0.5197 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1612, allocations: 183.4 kB / 0.5199 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.316e-05/0.1612, allocations: 13.95 kB / 0.5199 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1613, allocations: 79.64 kB / 0.52 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1615, allocations: 67.67 kB / 0.52 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.1616, allocations: 8 kB / 0.52 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1617, allocations: 67.97 kB / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.1618, allocations: 43.78 kB / 0.5201 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.1619, allocations: 43.72 kB / 0.5202 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.1622, allocations: 167.3 kB / 0.5203 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1622, allocations: 0 / 0.5203 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1622, allocations: 4 kB / 0.5203 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1622, allocations: 0 / 0.5203 GB, free: 2.855 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006992/0.1629, allocations: 401.1 kB / 0.5207 GB, free: 2.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1629, allocations: 12.03 kB / 0.5207 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.163, allocations: 34.75 kB / 0.5208 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.163, allocations: 20.84 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.1634, allocations: 182 kB / 0.521 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1634, allocations: 384 / 0.521 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1634, allocations: 7.938 kB / 0.521 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.1637, allocations: 152.4 kB / 0.5211 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1637, allocations: 0 / 0.5211 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1637, allocations: 8 kB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1637, allocations: 0 / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1639, allocations: 31.97 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.1641, allocations: 177.6 kB / 0.5213 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1644, allocations: 117.1 kB / 0.5214 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1645, allocations: 37.7 kB / 0.5215 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1646, allocations: 7.984 kB / 0.5215 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.1648, allocations: 113 kB / 0.5216 GB, free: 1.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1648, allocations: 3.938 kB / 0.5216 GB, free: 1.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000547/0.1654, allocations: 177.5 kB / 0.5218 GB, free: 1.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.1655, allocations: 128.5 kB / 0.5219 GB, free: 1.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.1657, allocations: 219.8 kB / 0.5221 GB, free: 0.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1658, allocations: 33.69 kB / 0.5221 GB, free: 0.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.1659, allocations: 112.1 kB / 0.5222 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.1659, allocations: 27.75 kB / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.166, allocations: 33.7 kB / 0.5223 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1662, allocations: 326.8 kB / 0.5226 GB, free: 292 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.422e-05/0.1663, allocations: 28.48 kB / 0.5226 GB, free: 264 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1664, allocations: 140.5 kB / 0.5228 GB, free: 92 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.1667, allocations: 91.45 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1667, allocations: 3.938 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003021/0.167, allocations: 145.4 kB / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.167, allocations: 4 kB / 0.523 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.167, allocations: 4 kB / 0.523 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.167, allocations: 0 / 0.523 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1671, allocations: 24.08 kB / 0.523 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1671, allocations: 4 kB / 0.523 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.1672, allocations: 7.953 kB / 0.523 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1672, allocations: 8 kB / 0.523 GB, free: 15.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.1674, allocations: 137.7 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.1674, allocations: 15.91 kB / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.1678, allocations: 162.7 kB / 0.5233 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1678, allocations: 0 / 0.5233 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1678, allocations: 256 / 0.5233 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1678, allocations: 8 kB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.168, allocations: 188.5 kB / 0.5235 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.168, allocations: 4 kB / 0.5235 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.1681, allocations: 8 kB / 0.5235 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1681, allocations: 0 / 0.5235 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1681, allocations: 11.98 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1681, allocations: 0 / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1681, allocations: 0 / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.1684, allocations: 189.7 kB / 0.5237 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.1685, allocations: 15.91 kB / 0.5238 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.1685, allocations: 8 kB / 0.5238 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.1686, allocations: 4 kB / 0.5238 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1686, allocations: 15.97 kB / 0.5238 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.1687, allocations: 4 kB / 0.5238 GB, free: 14.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1688, allocations: 165.5 kB / 0.5239 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1688, allocations: 3.938 kB / 0.5239 GB, free: 14.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1691, allocations: 39.94 kB / 0.524 GB, free: 14.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002537/0.1717, allocations: 1.099 MB / 0.5251 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.172, allocations: 87.83 kB / 0.5251 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.172, allocations: 0 / 0.5251 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1721, allocations: 51.91 kB / 0.5252 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1725, allocations: 47.94 kB / 0.5252 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.1751, allocations: 1.843 MB / 0.527 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.1752, allocations: 102.3 kB / 0.5271 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.1753, allocations: 33.47 kB / 0.5272 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.1754, allocations: 51.41 kB / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1754, allocations: 0 / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.2119, allocations: 5.612 MB / 0.5327 GB, free: 5.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.72, allocations: 15.8 kB / 0.5327 GB, free: 5.559 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.039989532902837]