Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001564/0.001564, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 442.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.631e-05, allocations: 4.672 kB / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003066/0.003092, allocations: 1.72 MB / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.004963, allocations: 0.9696 MB / 445.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.005034, allocations: 8 kB / 445.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.005359, allocations: 43.75 kB / 445.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.005717, allocations: 91.55 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.005963, allocations: 83.53 kB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.006186, allocations: 111.6 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.006292, allocations: 7.984 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.006411, allocations: 59.77 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.006491, allocations: 23.92 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.006513, allocations: 4 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.00661, allocations: 43.97 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.006674, allocations: 23.92 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.006719, allocations: 15.94 kB / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.006954, allocations: 127.5 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.00696, allocations: 4 kB / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006961, allocations: 0 / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.006965, allocations: 7.938 kB / 446.1 MB, free: 1.852 MB / 366.1 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.0005577/0.007523, allocations: 341.5 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.007558, allocations: 12.03 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.007604, allocations: 16.89 kB / 446.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.007867, allocations: 157.5 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.007882, allocations: 384 / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.007909, allocations: 4.375 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.008069, allocations: 58.22 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.008083, allocations: 192 / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.008095, allocations: 4.375 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.008104, allocations: 11.88 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.008187, allocations: 19.92 kB / 446.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.008564, allocations: 232.6 kB / 446.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.008758, allocations: 58.67 kB / 447 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.008824, allocations: 24.84 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.008842, allocations: 0 / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.009003, allocations: 79.25 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.009004, allocations: 0 / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006063/0.00961, allocations: 181.3 kB / 447.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.009653, allocations: 51.41 kB / 447.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.009878, allocations: 210.4 kB / 447.5 MB, free: 284 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.009899, allocations: 29.7 kB / 447.5 MB, free: 248 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.009975, allocations: 112.1 kB / 447.6 MB, free: 132 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.01001, allocations: 27.78 kB / 447.7 MB, free: 104 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.01005, allocations: 21.72 kB / 447.7 MB, free: 76 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1741/0.1841, allocations: 320.7 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.1843, allocations: 20.98 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.1844, allocations: 39.09 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1845, allocations: 64.02 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1845, allocations: 0.6094 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002465/0.1848, allocations: 113.2 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1848, allocations: 6.422 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1848, allocations: 1.156 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1848, allocations: 0 / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1849, allocations: 19.19 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1849, allocations: 7.234 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.185, allocations: 2.969 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.185, allocations: 5.203 kB / 448.3 MB, free: 18.92 MB / 366.1 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 9.31e-05/0.1851, allocations: 128.8 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.1851, allocations: 11 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1854, allocations: 122.1 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1854, allocations: 2.734 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1854, allocations: 3.938 kB / 448.5 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1854, allocations: 4.234 kB / 448.5 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.1858, allocations: 348.3 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1858, allocations: 1.406 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.1859, allocations: 11.69 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1859, allocations: 5 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1859, allocations: 12.22 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.1859, allocations: 1.156 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1859, allocations: 0.6562 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1861, allocations: 219.2 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.1861, allocations: 9.844 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1861, allocations: 6.594 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.1862, allocations: 7.219 kB / 449.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1863, allocations: 7.078 kB / 449.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1863, allocations: 5.109 kB / 449.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1864, allocations: 157.9 kB / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1864, allocations: 0 / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1867, allocations: 29 kB / 449.3 MB, free: 18.3 MB / 366.1 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.001828/0.1885, allocations: 494 kB / 449.8 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1887, allocations: 60.45 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1887, allocations: 0 / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.1888, allocations: 32.06 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1892, allocations: 27.78 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.1898, allocations: 255.6 kB / 450.2 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.1899, allocations: 91.89 kB / 450.3 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.1899, allocations: 21.59 kB / 450.3 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.19, allocations: 16.06 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.19, allocations: 1.219 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of Templates: time 0.005946/0.1959, allocations: 1.852 MB / 452.2 MB, free: 17.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.9061956107616425]