Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 80.41 kB / 22.21 MB, free: 2.289 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.001763/0.001763, allocations: 168.4 kB / 25.61 MB, free: 8.906 MB / 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 0.9121/0.9121, allocations: 177.1 MB / 206 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2034/0.2034, allocations: 34.26 MB / 296.9 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.307e-05, allocations: 7.625 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00231/0.002333, allocations: 1.918 MB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.00396, allocations: 1.095 MB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.004045, allocations: 4 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.004397, allocations: 223.2 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.004723, allocations: 219.1 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.004915, allocations: 119.5 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.005133, allocations: 263.2 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005243, allocations: 21.95 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.005367, allocations: 143.6 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.005493, allocations: 159.6 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.005516, allocations: 8 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.0056, allocations: 67.91 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.005656, allocations: 63.77 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.005696, allocations: 43.78 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.005877, allocations: 203.1 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005878, allocations: 0 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005879, allocations: 0 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.005883, allocations: 0 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006649/0.006548, allocations: 0.6001 MB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.00658, allocations: 8.031 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.006626, allocations: 40.75 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.006796, allocations: 228.5 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.006813, allocations: 8.375 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.006831, allocations: 4.375 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.006959, allocations: 118.2 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.00697, allocations: 3.938 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.006979, allocations: 0 / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006985, allocations: 3.938 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.891e-05/0.007024, allocations: 27.95 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.007309, allocations: 471.1 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.00749, allocations: 126.1 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.007521, allocations: 31.36 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.007533, allocations: 128 / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.007641, allocations: 120.4 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.007643, allocations: 0 / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005913/0.008234, allocations: 370.1 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.008258, allocations: 89.03 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.008411, allocations: 394.1 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.008428, allocations: 29.7 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.00849, allocations: 219.2 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.008527, allocations: 67.42 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.008567, allocations: 51.34 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.008623, allocations: 0.5312 MB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.008653, allocations: 31.97 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.008697, allocations: 66.7 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.008776, allocations: 110.7 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008777, allocations: 3.938 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001513/0.008929, allocations: 181.3 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.008941, allocations: 10.03 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008945, allocations: 0 / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.008956, allocations: 4 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.009038, allocations: 39.92 kB / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.009042, allocations: 7.984 kB / 387.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.009087, allocations: 19.95 kB / 387.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.009097, allocations: 8 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 6.306e-05/0.00916, allocations: 168.5 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.00919, allocations: 47.78 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.009403, allocations: 228.8 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009405, allocations: 0 / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009407, allocations: 4 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.009411, allocations: 3.938 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.00979, allocations: 0.6909 MB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009793, allocations: 0 / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.009844, allocations: 35.92 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.009848, allocations: 3.938 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.009858, allocations: 12 kB / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.00986, allocations: 0 / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.009862, allocations: 4 kB / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.01005, allocations: 0.4965 MB / 389.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.01007, allocations: 35.83 kB / 389.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.01009, allocations: 12 kB / 389.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.01017, allocations: 7.984 kB / 389.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.01021, allocations: 19.97 kB / 389.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.01023, allocations: 12 kB / 389.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.017e-05/0.01032, allocations: 258.8 kB / 389.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01032, allocations: 0 / 389.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.01054, allocations: 55.92 kB / 389.9 MB, free: 12.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009816/0.01153, allocations: 499.5 kB / 390.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.01166, allocations: 115.4 kB / 390.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01166, allocations: 0 / 390.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.556e-05/0.01172, allocations: 67.53 kB / 390.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.01205, allocations: 77.38 kB / 390.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.01249, allocations: 0.4956 MB / 391.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.01254, allocations: 100.2 kB / 391.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.194e-05/0.0126, allocations: 33.94 kB / 391.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.01269, allocations: 126.2 kB / 391.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0127, allocations: 0 / 391.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of Templates: time 0.004868/0.01756, allocations: 3.733 MB / 395.2 MB, free: 7.301 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.207192582078278]