Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.000794/0.000794, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008125/0.0008125, allocations: 174.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8676/0.8676, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2347/0.2347, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 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.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 442.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.229e-05, allocations: 4.25 kB / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.1707/0.1708, allocations: 1.982 MB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1721, allocations: 1.058 MB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1722, allocations: 3.938 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1725, allocations: 45.17 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1728, allocations: 115.6 kB / 445.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1729, allocations: 116.6 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1731, allocations: 215.9 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1732, allocations: 15.91 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1734, allocations: 115.6 kB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.683e-05/0.1734, allocations: 60.64 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1735, allocations: 12.19 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.1735, allocations: 57.59 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.1736, allocations: 42.11 kB / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1737, allocations: 40.72 kB / 446.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.1739, allocations: 205.5 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1739, allocations: 3.938 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1739, allocations: 0 / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1739, allocations: 0 / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006318/0.1745, allocations: 0.4998 MB / 446.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1746, allocations: 7.5 kB / 446.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.417e-05/0.1746, allocations: 44.48 kB / 446.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1746, allocations: 20.62 kB / 446.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1749, allocations: 183.2 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1749, allocations: 6.062 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1749, allocations: 9.406 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1751, allocations: 181.2 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1751, allocations: 0 / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1752, allocations: 7.312 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1752, allocations: 2.594 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.1754, allocations: 117.8 kB / 447.4 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.1757, allocations: 0.4969 MB / 447.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.1761, allocations: 159.1 kB / 448 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1762, allocations: 71.78 kB / 448.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1762, allocations: 4 kB / 448.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.1764, allocations: 166.8 kB / 448.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.1764, allocations: 0 / 448.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004417/0.1769, allocations: 260.8 kB / 448.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.1769, allocations: 57.53 kB / 448.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.177, allocations: 241.7 kB / 448.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.177, allocations: 32.7 kB / 448.9 MB, free: 41.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1771, allocations: 127.9 kB / 449 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.1771, allocations: 40.81 kB / 449 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1771, allocations: 32.52 kB / 449.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.252e-05/0.1772, allocations: 335.1 kB / 449.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1773, allocations: 102.5 kB / 449.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1774, allocations: 139.8 kB / 449.6 MB, free: 40.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1776, allocations: 195.5 kB / 449.8 MB, free: 40.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1776, allocations: 2.688 kB / 449.8 MB, free: 40.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003043/0.1779, allocations: 283.7 kB / 450.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.178, allocations: 31.45 kB / 450.1 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.178, allocations: 6.844 kB / 450.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.178, allocations: 2.875 kB / 450.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.1781, allocations: 39.94 kB / 450.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1781, allocations: 3.906 kB / 450.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.1781, allocations: 24.8 kB / 450.2 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1782, allocations: 9.719 kB / 450.2 MB, free: 40.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 6.456e-05/0.1782, allocations: 143.6 kB / 450.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.1782, allocations: 25.8 kB / 450.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.1785, allocations: 212.6 kB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1785, allocations: 2.781 kB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1785, allocations: 3.469 kB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1785, allocations: 3.938 kB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.938e-05/0.1786, allocations: 191.9 kB / 450.8 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1786, allocations: 0 / 450.8 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.64e-05/0.1787, allocations: 34.42 kB / 450.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1787, allocations: 0 / 450.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1787, allocations: 6.078 kB / 450.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1787, allocations: 3.938 kB / 450.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1787, allocations: 1.312 kB / 450.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.1792, allocations: 325.5 kB / 451.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.1792, allocations: 17.45 kB / 451.2 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1792, allocations: 10.17 kB / 451.2 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.1793, allocations: 17.8 kB / 451.2 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1793, allocations: 16.08 kB / 451.2 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1793, allocations: 12.94 kB / 451.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.085e-05/0.1794, allocations: 173 kB / 451.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1794, allocations: 3.938 kB / 451.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.1796, allocations: 43.09 kB / 451.4 MB, free: 39.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001149/0.1807, allocations: 1.177 MB / 452.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.181, allocations: 251 kB / 452.8 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.181, allocations: 0 / 452.8 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1811, allocations: 78.06 kB / 452.9 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1814, allocations: 57.53 kB / 453 MB, free: 38.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1829, allocations: 2.304 MB / 455.3 MB, free: 36.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.183, allocations: 117.7 kB / 455.4 MB, free: 36.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.1831, allocations: 27.98 kB / 455.4 MB, free: 36.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.1831, allocations: 63.23 kB / 455.5 MB, free: 36.71 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1831, allocations: 2.906 kB / 455.5 MB, free: 36.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.1999, allocations: 5.998 MB / 461.5 MB, free: 35.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.081, allocations: 7.078 kB / 461.5 MB, free: 35.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable trapezoid1.T_start in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.T_start from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! Error: Could not read variable trapezoid1.count in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.count from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.987944072112441]