Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.002531/0.002531, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 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.002681/0.002681, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.651/1.651, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.4125/0.4125, allocations: 34.26 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002816/0.0002834, allocations: 6.25 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.005966/0.00625, allocations: 2.228 MB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.009916, allocations: 1.298 MB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.01009, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.01062, allocations: 123.2 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007673/0.01138, allocations: 250.8 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.01197, allocations: 195.4 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007917/0.01276, allocations: 474.4 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.01291, allocations: 49.11 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005878/0.01349, allocations: 351.2 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.01371, allocations: 135.5 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.01376, allocations: 16 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.01392, allocations: 67.92 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.01412, allocations: 151.4 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.01425, allocations: 95.58 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.01481, allocations: 426.2 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.01482, allocations: 4 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01482, allocations: 4 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01483, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001412/0.01624, allocations: 0.8913 MB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.01628, allocations: 15.97 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.01642, allocations: 72.52 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.01699, allocations: 361.2 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.01703, allocations: 16.38 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.01707, allocations: 20.36 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.01775, allocations: 192.9 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.01777, allocations: 8.078 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.01779, allocations: 4.375 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.0178, allocations: 7.938 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.01806, allocations: 91.84 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.01933, allocations: 0.9765 MB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.02004, allocations: 268.5 kB / 386 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.02024, allocations: 94.83 kB / 386.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.02026, allocations: 11.94 kB / 386.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.02067, allocations: 221.5 kB / 386.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.02067, allocations: 0 / 386.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002826/0.0235, allocations: 1.176 MB / 387.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.02361, allocations: 136.5 kB / 387.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000943/0.02455, allocations: 0.7301 MB / 388.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.02459, allocations: 37.7 kB / 388.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.02491, allocations: 331.7 kB / 388.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.02507, allocations: 154.8 kB / 388.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.02521, allocations: 91.84 kB / 389 MB, free: 6.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.0256, allocations: 0.586 MB / 389.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.02584, allocations: 105 kB / 389.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.02619, allocations: 218.4 kB / 389.9 MB, free: 5.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.02678, allocations: 345.6 kB / 390.2 MB, free: 5.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.02678, allocations: 0 / 390.2 MB, free: 5.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008492/0.02763, allocations: 456.8 kB / 390.7 MB, free: 5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.02765, allocations: 8 kB / 390.7 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.02766, allocations: 4.062 kB / 390.7 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.02768, allocations: 8 kB / 390.7 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.02798, allocations: 83.91 kB / 390.8 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.028, allocations: 7.984 kB / 390.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.02815, allocations: 16 kB / 390.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.02819, allocations: 20 kB / 390.8 MB, free: 4.855 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0002377/0.02842, allocations: 206.9 kB / 391 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.02856, allocations: 87.52 kB / 391.1 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.02988, allocations: 0.4953 MB / 391.6 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.02988, allocations: 4 kB / 391.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.02989, allocations: 4 kB / 391.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.0299, allocations: 7.984 kB / 391.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.03213, allocations: 1.519 MB / 393.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.03214, allocations: 0 / 393.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.03234, allocations: 71.84 kB / 393.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.03235, allocations: 4 kB / 393.2 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.03238, allocations: 24.23 kB / 393.2 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.03239, allocations: 4 kB / 393.2 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.0324, allocations: 7.938 kB / 393.2 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.03361, allocations: 1.028 MB / 394.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.03384, allocations: 103.4 kB / 394.4 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.03391, allocations: 19.94 kB / 394.4 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.03417, allocations: 19.98 kB / 394.4 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.03427, allocations: 35.94 kB / 394.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.03432, allocations: 31.92 kB / 394.5 MB, free: 1.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006017/0.03492, allocations: 483 kB / 395 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03492, allocations: 3.938 kB / 395 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005445/0.03547, allocations: 95.92 kB / 395 MB, free: 484 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003805/0.03927, allocations: 0.5487 MB / 395.6 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007368/0.04001, allocations: 335.7 kB / 395.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.04001, allocations: 0 / 395.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.04035, allocations: 185.2 kB / 396.1 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/0.04131, allocations: 148.3 kB / 396.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.04302, allocations: 0.9875 MB / 397.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.04337, allocations: 284.7 kB / 397.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000217/0.04358, allocations: 79.23 kB / 397.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.04373, allocations: 64.47 kB / 397.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of SimCode: time 9.21e-07/0.04373, allocations: 0 / 397.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of Templates: time 0.01287/0.05661, allocations: 5.708 MB / 403.4 MB, free: 8.312 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.296044125920162]