Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.0009972/0.0009972, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00299/0.00299, allocations: 160 kB / 24.7 MB, free: 9.43 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.8105/0.8105, allocations: 177.1 MB / 205 MB, free: 5.727 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.2314/0.2314, allocations: 34.25 MB / 295.7 MB, free: 0.7031 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.207e-05, allocations: 6.219 kB / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.1687/0.1687, allocations: 1.79 MB / 445.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1699, allocations: 1.052 MB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.1699, allocations: 2.688 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.1703, allocations: 306.3 kB / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.1707, allocations: 265.2 kB / 446.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.1708, allocations: 107.3 kB / 447 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.171, allocations: 271.4 kB / 447.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.1711, allocations: 4.781 kB / 447.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1712, allocations: 161.4 kB / 447.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1714, allocations: 203.7 kB / 447.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1714, allocations: 6.688 kB / 447.7 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.1715, allocations: 48.11 kB / 447.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.1716, allocations: 148 kB / 447.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.1716, allocations: 76.06 kB / 447.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1719, allocations: 351.9 kB / 448.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1719, allocations: 0 / 448.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1719, allocations: 2.938 kB / 448.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1719, allocations: 3.938 kB / 448.3 MB, free: 42.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005629/0.1724, allocations: 0.6799 MB / 449 MB, free: 42.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1725, allocations: 8.625 kB / 449 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.1725, allocations: 54.69 kB / 449 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.1729, allocations: 393.7 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1729, allocations: 3.281 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1729, allocations: 3.281 kB / 449.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.173, allocations: 93.45 kB / 449.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.173, allocations: 11.59 kB / 449.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.173, allocations: 3.234 kB / 449.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.173, allocations: 2.969 kB / 449.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.1731, allocations: 32.14 kB / 449.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.1733, allocations: 303.5 kB / 449.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1735, allocations: 107 kB / 449.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.1735, allocations: 41.98 kB / 450 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1735, allocations: 0 / 450 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.1737, allocations: 112.5 kB / 450.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1737, allocations: 3.562 kB / 450.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002786/0.1739, allocations: 216.9 kB / 450.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.174, allocations: 80.02 kB / 450.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.1746, allocations: 1.061 MB / 451.4 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.1746, allocations: 28.23 kB / 451.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.1747, allocations: 239.5 kB / 451.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.1747, allocations: 26.56 kB / 451.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.1747, allocations: 32.2 kB / 451.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.1748, allocations: 371.8 kB / 452.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.1748, allocations: 32.11 kB / 452.2 MB, free: 40.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.1749, allocations: 60.73 kB / 452.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.175, allocations: 92.7 kB / 452.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.175, allocations: 0 / 452.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001548/0.1751, allocations: 177.8 kB / 452.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1751, allocations: 3.812 kB / 452.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1751, allocations: 10.97 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1751, allocations: 3.422 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.1752, allocations: 23.69 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1752, allocations: 3.281 kB / 452.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.1753, allocations: 9.266 kB / 452.5 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1753, allocations: 2.781 kB / 452.5 MB, free: 40.01 MB / 410.7 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0001119/0.1754, allocations: 233.4 kB / 452.8 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1754, allocations: 53.39 kB / 452.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.1756, allocations: 215.4 kB / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1756, allocations: 3 kB / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1756, allocations: 0 / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1756, allocations: 0 / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1758, allocations: 280.2 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1758, allocations: 0 / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.1758, allocations: 8.062 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1758, allocations: 2.531 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1758, allocations: 3.188 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1758, allocations: 10.31 kB / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1758, allocations: 0 / 453.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.176, allocations: 225.3 kB / 453.6 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.176, allocations: 61.02 kB / 453.6 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1761, allocations: 6.906 kB / 453.6 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.1761, allocations: 9.953 kB / 453.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.1761, allocations: 11.39 kB / 453.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1761, allocations: 5.719 kB / 453.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004732/0.1766, allocations: 0.7916 MB / 454.4 MB, free: 39.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1766, allocations: 0 / 454.4 MB, free: 39.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.1768, allocations: 46.09 kB / 454.5 MB, free: 39.1 MB / 410.7 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.0006396/0.1775, allocations: 448.5 kB / 454.9 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1776, allocations: 90.03 kB / 455 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1776, allocations: 3.938 kB / 455 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.362e-05/0.1777, allocations: 39.03 kB / 455 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.1779, allocations: 75.83 kB / 455.1 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.1786, allocations: 0.9416 MB / 456.1 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.1788, allocations: 247.8 kB / 456.3 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.1788, allocations: 27.44 kB / 456.3 MB, free: 38.33 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1788, allocations: 0 / 456.3 MB, free: 38.33 MB / 410.7 MB Notification: Performance of Templates: time 0.004649/0.1835, allocations: 5.367 MB / 461.7 MB, free: 37.54 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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: 4.930267145857215]