Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001482/0.001482, 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.001015/0.001015, 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.062/1.062, allocations: 177.1 MB / 205 MB, free: 5.59 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.2467/0.2467, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.104e-05, allocations: 2.312 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002655/0.002686, allocations: 1.793 MB / 377.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003975, allocations: 1.009 MB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/0.004067, allocations: 7.938 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.004474, allocations: 87.67 kB / 379 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.004803, allocations: 127.3 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.004991, allocations: 79.66 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.005168, allocations: 127.6 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.005265, allocations: 12 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.797e-05/0.005353, allocations: 63.81 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005455, allocations: 63.86 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.005472, allocations: 7.938 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.005578, allocations: 71.84 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.005632, allocations: 23.92 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.005677, allocations: 31.84 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.005874, allocations: 107.6 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005877, allocations: 4 kB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.005879, allocations: 0 / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005884, allocations: 0 / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005277/0.006411, allocations: 471.7 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.00645, allocations: 8.031 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.006501, allocations: 16.84 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.006687, allocations: 173.1 kB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.006706, allocations: 384 / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.006735, allocations: 4.375 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.006867, allocations: 66.92 kB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.00688, allocations: 3.938 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.006889, allocations: 0 / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.006899, allocations: 0 / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.006937, allocations: 19.98 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.007302, allocations: 303.6 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.007491, allocations: 62.97 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.007523, allocations: 19.81 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.007539, allocations: 4 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.007644, allocations: 72.97 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.007645, allocations: 0 / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005532/0.008199, allocations: 221.7 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.008231, allocations: 51.41 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.008386, allocations: 255.1 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.008401, allocations: 37.64 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.008465, allocations: 162.9 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.008501, allocations: 39.75 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.00854, allocations: 35.36 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.008668, allocations: 0.504 MB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.008702, allocations: 19.98 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.008742, allocations: 39.11 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.804e-05/0.00882, allocations: 67.31 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008821, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001316/0.008953, allocations: 113.5 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.008991, allocations: 12.03 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.008996, allocations: 3.938 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.009015, allocations: 0 / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.009077, allocations: 23.98 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.009082, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.00911, allocations: 4 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.00912, allocations: 8 kB / 382.5 MB, free: 13.94 MB / 362.7 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 (13): * Single equations (assignments): 13 * 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.278e-05/0.009203, allocations: 171.8 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.009223, allocations: 19.89 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.009401, allocations: 123.1 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.009403, allocations: 4 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.009409, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.009412, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.009758, allocations: 448.5 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.00976, allocations: 0 / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.009792, allocations: 15.98 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.009794, allocations: 4 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.009802, allocations: 0 / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.009805, allocations: 7.938 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.009807, allocations: 7.938 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.009973, allocations: 283.2 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.009988, allocations: 11.91 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01001, allocations: 8 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.01005, allocations: 4 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.01009, allocations: 15.92 kB / 383.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.0101, allocations: 7.984 kB / 383.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.01018, allocations: 179.2 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01018, allocations: 3.938 kB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.01036, allocations: 31.92 kB / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001105/0.01147, allocations: 491.8 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.0116, allocations: 63.59 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.0116, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.828e-05/0.01165, allocations: 47.66 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01189, allocations: 38.86 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.01226, allocations: 277.3 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.0123, allocations: 71.33 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.01234, allocations: 16.64 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.01237, allocations: 16.62 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01237, allocations: 4 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of Templates: time 0.003704/0.01608, allocations: 2.126 MB / 386.9 MB, free: 9.551 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.2393079083412886]