Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.0009919/0.0009919, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001354/0.001354, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.093/1.093, allocations: 177.1 MB / 205 MB, free: 5.629 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.2485/0.2485, allocations: 32.81 MB / 294.3 MB, free: 1.262 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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 3.984 kB / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.644e-05, allocations: 2.312 kB / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002368/0.002384, allocations: 2.261 MB / 378.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.00389, allocations: 1.301 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.003994, allocations: 7.938 kB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.004331, allocations: 123.2 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.004709, allocations: 258.7 kB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.004946, allocations: 195.4 kB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.005293, allocations: 470.5 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.005406, allocations: 45.25 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.005687, allocations: 351.1 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.005812, allocations: 131.5 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.005846, allocations: 20 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.005953, allocations: 71.91 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.006059, allocations: 139.5 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.006142, allocations: 99.56 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.006442, allocations: 346.4 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.006444, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006445, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.006449, allocations: 0 / 381.9 MB, free: 14.75 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.0007145/0.007164, allocations: 0.8798 MB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.007197, allocations: 8.031 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.007277, allocations: 80.52 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.007581, allocations: 353.2 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.007604, allocations: 12.36 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.007639, allocations: 16.38 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.007873, allocations: 185.6 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.007889, allocations: 11.88 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.007904, allocations: 8 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.007913, allocations: 0 / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.284e-05/0.008005, allocations: 67.88 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.00863, allocations: 0.9336 MB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.008963, allocations: 228.4 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.009046, allocations: 74.84 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.009064, allocations: 4 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.009259, allocations: 197.2 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.00926, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001256/0.01052, allocations: 1.058 MB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.01057, allocations: 140.5 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.01102, allocations: 0.6598 MB / 386.8 MB, free: 9.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.01105, allocations: 37.7 kB / 386.8 MB, free: 9.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.0112, allocations: 311.7 kB / 387.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.01128, allocations: 146.8 kB / 387.3 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.01135, allocations: 83.81 kB / 387.3 MB, free: 8.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.01151, allocations: 0.5625 MB / 387.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.01161, allocations: 64.95 kB / 388 MB, free: 8.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.01176, allocations: 162.4 kB / 388.1 MB, free: 8.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.012, allocations: 257.7 kB / 388.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.012, allocations: 0 / 388.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003604/0.01236, allocations: 376.8 kB / 388.7 MB, free: 7.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01237, allocations: 8 kB / 388.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01238, allocations: 0 / 388.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.0124, allocations: 4 kB / 388.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.01259, allocations: 91.95 kB / 388.8 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.0126, allocations: 8 kB / 388.9 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.01267, allocations: 12 kB / 388.9 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.01269, allocations: 19.98 kB / 388.9 MB, free: 7.348 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.0001113/0.0128, allocations: 190.9 kB / 389.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.01287, allocations: 87.5 kB / 389.2 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.01333, allocations: 427.1 kB / 389.6 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.01334, allocations: 11.98 kB / 389.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01334, allocations: 0 / 389.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.01335, allocations: 11.98 kB / 389.6 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.01436, allocations: 1.386 MB / 391 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.01436, allocations: 11.94 kB / 391 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.01446, allocations: 63.92 kB / 391.1 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.01447, allocations: 7.984 kB / 391.1 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.01449, allocations: 15.94 kB / 391.1 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.01449, allocations: 8.25 kB / 391.1 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01449, allocations: 4 kB / 391.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.01501, allocations: 0.9694 MB / 392.1 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.01511, allocations: 95.52 kB / 392.2 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.01515, allocations: 16 kB / 392.2 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.01529, allocations: 19.92 kB / 392.2 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.01536, allocations: 47.88 kB / 392.2 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.01539, allocations: 23.98 kB / 392.3 MB, free: 3.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00028/0.01567, allocations: 443 kB / 392.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01567, allocations: 4 kB / 392.7 MB, free: 3.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003198/0.01599, allocations: 83.94 kB / 392.8 MB, free: 3.297 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.001009/0.017, allocations: 0.5073 MB / 393.3 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.0173, allocations: 248.5 kB / 393.5 MB, free: 2.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.0173, allocations: 0 / 393.5 MB, free: 2.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.01744, allocations: 152.3 kB / 393.7 MB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.01799, allocations: 142.4 kB / 393.8 MB, free: 2.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.01902, allocations: 0.9444 MB / 394.8 MB, free: 1.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.01912, allocations: 150.1 kB / 394.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.01924, allocations: 75.25 kB / 395 MB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.01933, allocations: 64.47 kB / 395 MB, free: 1.117 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01933, allocations: 0 / 395 MB, free: 1.117 MB / 362.7 MB Notification: Performance of Templates: time 0.007332/0.02667, allocations: 5.76 MB / 400.8 MB, free: 11.45 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4592671277932823]