Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001192/0.001192, 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.005353/0.005353, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.8818/0.8818, allocations: 177.1 MB / 205 MB, free: 5.73 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.2289/0.2289, allocations: 32.8 MB / 294.2 MB, free: 1.219 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.525e-05, allocations: 6.219 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002425/0.00246, allocations: 1.71 MB / 442.6 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003674, allocations: 0.9742 MB / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.003754, allocations: 7.938 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.004057, allocations: 35.77 kB / 443.7 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.004365, allocations: 99.47 kB / 443.8 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.004558, allocations: 79.61 kB / 443.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.004717, allocations: 115.6 kB / 444 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.00481, allocations: 7.984 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.004892, allocations: 51.84 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.004965, allocations: 31.89 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.004981, allocations: 4 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.005067, allocations: 43.92 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.005123, allocations: 27.84 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.005164, allocations: 15.94 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.005345, allocations: 119.5 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.005348, allocations: 0 / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.005349, allocations: 3.984 kB / 444.3 MB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005353, allocations: 4 kB / 444.3 MB, free: 324 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.1781/0.1835, allocations: 336.7 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1835, allocations: 8.688 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.1836, allocations: 23.28 kB / 444.6 MB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1838, allocations: 140.9 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1838, allocations: 1.188 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.1838, allocations: 3.812 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.1839, allocations: 60.97 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1839, allocations: 0 / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1839, allocations: 0.5625 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1839, allocations: 1.562 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.184, allocations: 24.23 kB / 444.8 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.1842, allocations: 238.6 kB / 445.1 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1843, allocations: 60.66 kB / 445.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.1843, allocations: 17.86 kB / 445.2 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1844, allocations: 2.656 kB / 445.2 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.621e-05/0.1845, allocations: 73.03 kB / 445.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.1845, allocations: 0 / 445.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003708/0.1848, allocations: 183.1 kB / 445.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.1849, allocations: 56.47 kB / 445.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.185, allocations: 204.9 kB / 445.7 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.185, allocations: 25.7 kB / 445.7 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.185, allocations: 104.2 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.185, allocations: 29.12 kB / 445.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.185, allocations: 26.06 kB / 445.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.79e-05/0.1851, allocations: 323.2 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.1851, allocations: 21.75 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.1851, allocations: 42.97 kB / 446.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.175e-05/0.1852, allocations: 57.72 kB / 446.3 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1852, allocations: 3.938 kB / 446.3 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.447e-05/0.1853, allocations: 113 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1853, allocations: 5.875 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1853, allocations: 0 / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1853, allocations: 3.469 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.1854, allocations: 23.05 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1854, allocations: 0 / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.1854, allocations: 6.562 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1854, allocations: 2.75 kB / 446.4 MB, free: 45.57 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.008e-05/0.1855, allocations: 128.8 kB / 446.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-06/0.1855, allocations: 14.45 kB / 446.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.1856, allocations: 118.5 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1856, allocations: 3.438 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1856, allocations: 4.875 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1856, allocations: 3.281 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1858, allocations: 352.6 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1858, allocations: 2.812 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.1859, allocations: 8.344 kB / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1859, allocations: 0 / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1859, allocations: 6.906 kB / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1859, allocations: 7.156 kB / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1859, allocations: 0 / 447.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.186, allocations: 215.8 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.186, allocations: 10.75 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.186, allocations: 2.719 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.1861, allocations: 4 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.1861, allocations: 9.859 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1861, allocations: 12.66 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.1862, allocations: 148.5 kB / 447.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1862, allocations: 1.688 kB / 447.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000166/0.1863, allocations: 31.89 kB / 447.5 MB, free: 44.84 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.0007093/0.1871, allocations: 492.8 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.1872, allocations: 58.5 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.1872, allocations: 6.562 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.1872, allocations: 27.44 kB / 448.1 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1874, allocations: 28 kB / 448.1 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.1877, allocations: 263.8 kB / 448.4 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.854e-05/0.1878, allocations: 92.27 kB / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.1878, allocations: 25.22 kB / 448.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1878, allocations: 0 / 448.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002276/0.1901, allocations: 2.016 MB / 450.5 MB, free: 44.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.732916167005897]