Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.001894/0.001894, allocations: 90.31 kB / 20.69 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.002303/0.002303, allocations: 158.2 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.593/1.593, allocations: 177 MB / 204.1 MB, free: 9.164 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.2437/0.2437, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.023e-05, allocations: 6.219 kB / 442.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003384/0.003414, allocations: 1.722 MB / 444.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.005433, allocations: 0.9697 MB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.005537, allocations: 8 kB / 445.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.005854, allocations: 39.77 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.006242, allocations: 91.48 kB / 445.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.006501, allocations: 87.53 kB / 445.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.006727, allocations: 111.6 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.00683, allocations: 7.984 kB / 445.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.00698, allocations: 55.77 kB / 445.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.007076, allocations: 31.91 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.0071, allocations: 4 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.007216, allocations: 39.98 kB / 445.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.007279, allocations: 19.92 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.007338, allocations: 23.86 kB / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.007594, allocations: 123.5 kB / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.007598, allocations: 0 / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007599, allocations: 0 / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.007604, allocations: 0 / 446.1 MB, free: 1.867 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.0006591/0.008263, allocations: 349.5 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.008305, allocations: 12.03 kB / 446.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.008359, allocations: 12.89 kB / 446.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.008681, allocations: 161.5 kB / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.008697, allocations: 384 / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.008723, allocations: 8.312 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.008908, allocations: 58.22 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.008925, allocations: 4.172 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.008937, allocations: 384 / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.008948, allocations: 7.938 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.809e-05/0.009036, allocations: 19.98 kB / 446.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.009449, allocations: 232.5 kB / 446.9 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.009647, allocations: 62.67 kB / 447 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.009708, allocations: 16.86 kB / 447 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.009727, allocations: 4 kB / 447 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.00991, allocations: 75.25 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.009911, allocations: 0 / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006785/0.01059, allocations: 181.4 kB / 447.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.01064, allocations: 55.34 kB / 447.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.01089, allocations: 214.4 kB / 447.5 MB, free: 288 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01091, allocations: 25.7 kB / 447.5 MB, free: 256 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.01099, allocations: 112.1 kB / 447.6 MB, free: 140 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.01103, allocations: 31.77 kB / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.01108, allocations: 17.72 kB / 447.7 MB, free: 84 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1728/0.1838, allocations: 322.8 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.184, allocations: 23.2 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.184, allocations: 40.06 kB / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1842, allocations: 62.38 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1842, allocations: 0 / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002238/0.1844, allocations: 105.7 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1844, allocations: 6 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1844, allocations: 1.156 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1844, allocations: 1.094 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1845, allocations: 19.25 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1845, allocations: 5.422 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.1846, allocations: 6.453 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1846, allocations: 7.391 kB / 448.3 MB, free: 18.89 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 8.904e-05/0.1847, allocations: 130.6 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.1847, allocations: 14.27 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.185, allocations: 118.1 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.185, allocations: 0.9688 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.185, allocations: 7.578 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.185, allocations: 1.125 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.1854, allocations: 356.3 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1854, allocations: 0.9062 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.1855, allocations: 13.42 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1855, allocations: 1.094 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1855, allocations: 8.5 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1855, allocations: 1.781 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1855, allocations: 0 / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1857, allocations: 210.5 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.1857, allocations: 11.91 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1858, allocations: 11.41 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1858, allocations: 4.391 kB / 449.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1859, allocations: 10.39 kB / 449.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1859, allocations: 4.234 kB / 449.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.186, allocations: 157.8 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.186, allocations: 5 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1863, allocations: 24.91 kB / 449.4 MB, free: 18.29 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.00193/0.1882, allocations: 488 kB / 449.8 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1884, allocations: 59.53 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1884, allocations: 0 / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1885, allocations: 30.25 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.0003557/0.1888, allocations: 38.5 kB / 450 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.1893, allocations: 252.2 kB / 450.2 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.569e-05/0.1894, allocations: 92.78 kB / 450.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.1894, allocations: 21.95 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.1894, allocations: 18.09 kB / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1894, allocations: 0.9688 kB / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of Templates: time 0.00513/0.1946, allocations: 1.845 MB / 452.2 MB, free: 17.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.074169661849737]