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.0009655/0.0009655, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001076/0.001076, allocations: 161.1 kB / 24.99 MB, free: 8.219 MB / 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 0.9998/0.9998, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2842/0.2842, allocations: 34.87 MB / 296.6 MB, free: 0.5508 MB / 266.7 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|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.462e-06/1.462e-06, allocations: 0 / 378.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.529e-05, allocations: 2.312 kB / 378.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002699/0.002724, allocations: 2.259 MB / 381.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.004443, allocations: 1.301 MB / 382.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.004613, allocations: 7.938 kB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.004978, allocations: 123.2 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.005469, allocations: 246.8 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.005837, allocations: 195.5 kB / 383 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.006323, allocations: 474.5 kB / 383.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.006465, allocations: 41.25 kB / 383.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.006824, allocations: 351.1 kB / 383.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.006974, allocations: 139.5 kB / 384 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.007006, allocations: 16 kB / 384 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.007125, allocations: 67.92 kB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.007242, allocations: 147.4 kB / 384.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.716e-05/0.007329, allocations: 99.53 kB / 384.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.007687, allocations: 342.5 kB / 384.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00769, allocations: 0 / 384.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007691, allocations: 0 / 384.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.007696, allocations: 0 / 384.6 MB, free: 12.52 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.0008029/0.008499, allocations: 0.8759 MB / 385.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.008536, allocations: 12.03 kB / 385.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.421e-05/0.00863, allocations: 72.52 kB / 385.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.008967, allocations: 357.2 kB / 385.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.008994, allocations: 16.38 kB / 385.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.009026, allocations: 16.36 kB / 386 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.009278, allocations: 193.5 kB / 386.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.009294, allocations: 12.14 kB / 386.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.009309, allocations: 4.375 kB / 386.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.00932, allocations: 7.938 kB / 386.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.009419, allocations: 63.86 kB / 386.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.01008, allocations: 0.9258 MB / 387.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.01044, allocations: 232.5 kB / 387.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.01052, allocations: 74.84 kB / 387.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.01054, allocations: 7.938 kB / 387.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.01074, allocations: 197.4 kB / 387.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.01074, allocations: 0 / 387.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001381/0.01213, allocations: 1.054 MB / 388.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.01219, allocations: 136.5 kB / 388.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/0.01282, allocations: 0.652 MB / 389.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.01284, allocations: 41.69 kB / 389.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.013, allocations: 311.7 kB / 389.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.371e-05/0.01309, allocations: 150.8 kB / 390 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.01317, allocations: 91.8 kB / 390.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.01333, allocations: 0.5586 MB / 390.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.01343, allocations: 60.97 kB / 390.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.01357, allocations: 166.4 kB / 390.9 MB, free: 5.914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.01381, allocations: 249.6 kB / 391.1 MB, free: 5.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01381, allocations: 4 kB / 391.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000424/0.01424, allocations: 380.8 kB / 391.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.01425, allocations: 7.938 kB / 391.5 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01426, allocations: 4 kB / 391.5 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01428, allocations: 4 kB / 391.5 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.01445, allocations: 87.89 kB / 391.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.01445, allocations: 4.234 kB / 391.6 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.01454, allocations: 15.98 kB / 391.6 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.01456, allocations: 19.98 kB / 391.6 MB, free: 5.113 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.0001226/0.01469, allocations: 195 kB / 391.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.01476, allocations: 87.5 kB / 391.9 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.01525, allocations: 434.8 kB / 392.3 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.01526, allocations: 7.984 kB / 392.3 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.01527, allocations: 4 kB / 392.3 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.01527, allocations: 0 / 392.3 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.0163, allocations: 1.398 MB / 393.7 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.0163, allocations: 0 / 393.7 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01641, allocations: 67.84 kB / 393.8 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.01642, allocations: 8 kB / 393.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.01644, allocations: 16 kB / 393.8 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.01644, allocations: 7.984 kB / 393.8 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01645, allocations: 7.938 kB / 393.8 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.01706, allocations: 0.9615 MB / 394.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.01717, allocations: 99.45 kB / 394.9 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.01722, allocations: 20 kB / 394.9 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.01737, allocations: 19.98 kB / 394.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.01743, allocations: 35.94 kB / 395 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.01747, allocations: 31.92 kB / 395 MB, free: 1.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003146/0.01778, allocations: 442.9 kB / 395.4 MB, free: 1.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01778, allocations: 0 / 395.4 MB, free: 1.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.01816, allocations: 95.92 kB / 395.5 MB, free: 1.051 MB / 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.001079/0.01924, allocations: 494.2 kB / 396 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.01957, allocations: 255.7 kB / 396.3 MB, free: 476 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01958, allocations: 4.25 kB / 396.3 MB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.01973, allocations: 144.4 kB / 396.4 MB, free: 324 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.02031, allocations: 137.1 kB / 396.5 MB, free: 188 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02144, allocations: 0.9406 MB / 397.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.02156, allocations: 150.7 kB / 397.6 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.02173, allocations: 83.23 kB / 397.7 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.02183, allocations: 56.48 kB / 397.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.02183, allocations: 0 / 397.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of Templates: time 0.008383/0.03021, allocations: 5.757 MB / 403.5 MB, free: 9.195 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.18285490013659]