Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.00085/0.00085, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005146/0.005146, allocations: 160.4 kB / 24.7 MB, free: 9.426 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.9223/0.9223, allocations: 177.1 MB / 205 MB, free: 5.742 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.2454/0.2454, 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 440.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.789e-05, allocations: 6.219 kB / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002247/0.002275, allocations: 1.718 MB / 442.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003914, allocations: 1.668 MB / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.00399, allocations: 0 / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.004263, allocations: 43.7 kB / 444.4 MB, free: 220 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.004577, allocations: 103.4 kB / 444.5 MB, free: 116 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.004734, allocations: 79.59 kB / 444.5 MB, free: 36 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1728/0.1775, allocations: 101.9 kB / 444.6 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1776, allocations: 9.938 kB / 444.7 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1778, allocations: 65.22 kB / 444.7 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1779, allocations: 33.48 kB / 444.7 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1779, allocations: 2.906 kB / 444.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.1782, allocations: 106.4 kB / 444.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.1783, allocations: 21.55 kB / 444.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.1783, allocations: 17.94 kB / 444.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1786, allocations: 191.7 kB / 445.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1786, allocations: 0 / 445.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1786, allocations: 0 / 445.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1787, allocations: 0 / 445.1 MB, free: 43.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005029/0.1792, allocations: 353 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1792, allocations: 10.75 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.1792, allocations: 10.45 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1795, allocations: 146.4 kB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1795, allocations: 5.25 kB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1796, allocations: 7.734 kB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1797, allocations: 104.4 kB / 445.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1797, allocations: 0 / 445.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1797, allocations: 0 / 445.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1797, allocations: 2.531 kB / 445.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.1798, allocations: 24.17 kB / 445.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.1801, allocations: 225.5 kB / 446 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1802, allocations: 68.19 kB / 446 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.1802, allocations: 14.67 kB / 446 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1802, allocations: 6.938 kB / 446 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.1804, allocations: 74.09 kB / 446.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.1804, allocations: 0.5156 kB / 446.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004188/0.1808, allocations: 173.5 kB / 446.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1808, allocations: 79.89 kB / 446.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1809, allocations: 168.1 kB / 446.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.1809, allocations: 29.45 kB / 446.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.181, allocations: 97.05 kB / 446.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.181, allocations: 28.88 kB / 446.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.181, allocations: 22.28 kB / 446.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.146e-05/0.181, allocations: 324.5 kB / 447 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.1811, allocations: 22.56 kB / 447 MB, free: 42.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.1811, allocations: 76.77 kB / 447.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.1812, allocations: 63.47 kB / 447.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1812, allocations: 1.094 kB / 447.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000114/0.1813, allocations: 107.6 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1813, allocations: 9.5 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1813, allocations: 0 / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1813, allocations: 2.844 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.1814, allocations: 14.17 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1814, allocations: 2.656 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.1815, allocations: 9.844 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1815, allocations: 6.062 kB / 447.3 MB, free: 42.34 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 5.467e-05/0.1815, allocations: 125.7 kB / 447.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.1815, allocations: 9.172 kB / 447.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.1817, allocations: 127.9 kB / 447.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1817, allocations: 0 / 447.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1817, allocations: 0 / 447.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1817, allocations: 1.5 kB / 447.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.182, allocations: 353.8 kB / 447.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.182, allocations: 0 / 447.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.182, allocations: 11.2 kB / 447.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.182, allocations: 2.656 kB / 447.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.182, allocations: 0 / 447.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.182, allocations: 6.875 kB / 447.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.182, allocations: 3.75 kB / 447.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1822, allocations: 211.3 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.1822, allocations: 13.5 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1822, allocations: 2.688 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.1822, allocations: 5.938 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.1823, allocations: 9.875 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1823, allocations: 6.75 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.1823, allocations: 130.5 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1823, allocations: 2.531 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.1826, allocations: 56.28 kB / 448.4 MB, free: 41.69 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.001005/0.1836, allocations: 0.5861 MB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.1837, allocations: 62.47 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1837, allocations: 0 / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.1838, allocations: 35.84 kB / 449.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.184, allocations: 28.41 kB / 449.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.1844, allocations: 225.2 kB / 449.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.1844, allocations: 96.94 kB / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.1844, allocations: 20.94 kB / 449.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1844, allocations: 0 / 449.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of Templates: time 0.002962/0.1874, allocations: 2.477 MB / 451.9 MB, free: 40.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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: 5.144798448309302]