Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.0008637/0.0008637, 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.004115/0.004115, allocations: 160.7 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.8735/0.8735, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2442/0.2442, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 440.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.597e-05, allocations: 6.781 kB / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002145/0.002171, allocations: 1.721 MB / 442.7 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003306, allocations: 0.9742 MB / 443.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.003374, allocations: 4 kB / 443.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.003686, allocations: 55.67 kB / 443.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.003942, allocations: 107.5 kB / 443.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.004079, allocations: 75.61 kB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.004236, allocations: 107.7 kB / 444 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.004334, allocations: 7.984 kB / 444 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.004415, allocations: 55.78 kB / 444 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.004486, allocations: 27.89 kB / 444.1 MB, free: 500 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.004502, allocations: 4 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.004578, allocations: 39.94 kB / 444.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.004637, allocations: 39.83 kB / 444.1 MB, free: 416 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.004675, allocations: 19.94 kB / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.004849, allocations: 131.5 kB / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004851, allocations: 4 kB / 444.3 MB, free: 260 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004852, allocations: 0 / 444.3 MB, free: 260 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004857, allocations: 0 / 444.3 MB, free: 260 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1718/0.1766, allocations: 381.9 kB / 444.7 MB, free: 46.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1767, allocations: 8.719 kB / 444.7 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1767, allocations: 16.89 kB / 444.7 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1769, allocations: 156.2 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1769, allocations: 3.812 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.177, allocations: 4.156 kB / 444.9 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1771, allocations: 54.11 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1771, allocations: 0 / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1771, allocations: 4.078 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1771, allocations: 2.938 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.1772, allocations: 29.34 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.1774, allocations: 236.1 kB / 445.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1775, allocations: 60.12 kB / 445.2 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.1775, allocations: 22.48 kB / 445.3 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1776, allocations: 3.281 kB / 445.3 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.956e-05/0.1777, allocations: 69.84 kB / 445.3 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.1777, allocations: 2.031 kB / 445.3 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004355/0.1781, allocations: 200.7 kB / 445.5 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.1781, allocations: 54.34 kB / 445.6 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1783, allocations: 273 kB / 445.8 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.1783, allocations: 32.14 kB / 445.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.1783, allocations: 114.5 kB / 446 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1783, allocations: 26.88 kB / 446 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.1783, allocations: 24.78 kB / 446 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.398e-05/0.1784, allocations: 326.5 kB / 446.4 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.1784, allocations: 21.2 kB / 446.4 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.1784, allocations: 39.27 kB / 446.4 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/0.1785, allocations: 64.84 kB / 446.5 MB, free: 45.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1785, allocations: 3.234 kB / 446.5 MB, free: 45.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.756e-05/0.1786, allocations: 114.4 kB / 446.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1786, allocations: 9.812 kB / 446.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1786, allocations: 0 / 446.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1786, allocations: 3.469 kB / 446.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.1787, allocations: 16.7 kB / 446.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1787, allocations: 3.031 kB / 446.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.1787, allocations: 7.094 kB / 446.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1787, allocations: 0 / 446.6 MB, free: 45.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 7.751e-05/0.1788, allocations: 140.3 kB / 446.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.1788, allocations: 22.11 kB / 446.8 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.179, allocations: 125.3 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.179, allocations: 0 / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.179, allocations: 3.234 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.179, allocations: 3.281 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1793, allocations: 362.8 kB / 447.3 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1793, allocations: 0 / 447.3 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.1793, allocations: 15.41 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1793, allocations: 0 / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1793, allocations: 1.25 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1793, allocations: 6.469 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1793, allocations: 3.234 kB / 447.3 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.1794, allocations: 218.7 kB / 447.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.1795, allocations: 16.36 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1795, allocations: 2.875 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.1795, allocations: 0 / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.1796, allocations: 12.88 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1796, allocations: 6.125 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1797, allocations: 205.5 kB / 447.7 MB, free: 44.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1797, allocations: 5.062 kB / 447.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.1799, allocations: 28.55 kB / 447.8 MB, free: 44.75 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008311/0.1807, allocations: 496.2 kB / 448.3 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1808, allocations: 60.89 kB / 448.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1808, allocations: 3.938 kB / 448.3 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.1809, allocations: 34.3 kB / 448.4 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.1811, allocations: 35.91 kB / 448.4 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.1815, allocations: 326.5 kB / 448.7 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.1816, allocations: 99.38 kB / 448.8 MB, free: 44.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.1816, allocations: 23.73 kB / 448.8 MB, free: 44.28 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1816, allocations: 3.828 kB / 448.8 MB, free: 44.28 MB / 410.7 MB Notification: Performance of Templates: time 0.002408/0.1841, allocations: 2.181 MB / 451 MB, free: 44.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.886936568655074]