Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001617/0.001617, 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.001747/0.001747, 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.099/1.099, 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.2912/0.2912, allocations: 32.8 MB / 294.3 MB, free: 0.707 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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 376.1 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.538e-05, allocations: 2.312 kB / 376.1 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002946/0.002981, allocations: 1.792 MB / 377.9 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.004626, allocations: 1.009 MB / 378.9 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.004728, allocations: 0 / 378.9 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.0051, allocations: 87.61 kB / 379 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.005509, allocations: 135.3 kB / 379.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.005758, allocations: 75.67 kB / 379.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.005982, allocations: 127.6 kB / 379.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.006098, allocations: 19.97 kB / 379.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.006209, allocations: 59.83 kB / 379.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.006321, allocations: 63.86 kB / 379.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.00634, allocations: 4 kB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.00648, allocations: 71.83 kB / 379.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.006547, allocations: 23.86 kB / 379.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.006598, allocations: 27.92 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.006814, allocations: 115.5 kB / 379.7 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.006818, allocations: 4 kB / 379.7 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006818, allocations: 4 kB / 379.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.006824, allocations: 0 / 379.7 MB, free: 0.8047 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.0005481/0.007372, allocations: 463.8 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.007429, allocations: 12.02 kB / 380.2 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.007485, allocations: 16.84 kB / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.007683, allocations: 165.1 kB / 380.4 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.007704, allocations: 4.375 kB / 380.4 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.007733, allocations: 4.375 kB / 380.4 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.007876, allocations: 66.88 kB / 380.4 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.007888, allocations: 3.938 kB / 380.4 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.007899, allocations: 4 kB / 380.4 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.007907, allocations: 0 / 380.4 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.007961, allocations: 20.03 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.008329, allocations: 307.6 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.008586, allocations: 62.97 kB / 380.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.008624, allocations: 15.81 kB / 380.8 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.008647, allocations: 4 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.00878, allocations: 68.98 kB / 380.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.008782, allocations: 0 / 380.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006177/0.0094, allocations: 225.7 kB / 381.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.009437, allocations: 55.41 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.009608, allocations: 255.1 kB / 381.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.009626, allocations: 33.7 kB / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.009696, allocations: 158.9 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.009739, allocations: 39.75 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.009785, allocations: 31.38 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.009921, allocations: 0.5039 MB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.009959, allocations: 16 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.01001, allocations: 43.36 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.563e-05/0.01009, allocations: 71.23 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01009, allocations: 0 / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001604/0.01025, allocations: 113.5 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.01028, allocations: 8 kB / 382.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.01029, allocations: 0 / 382.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.01031, allocations: 0 / 382.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.01038, allocations: 27.98 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.01039, allocations: 0 / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.01042, allocations: 4.031 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.01043, allocations: 4 kB / 382.5 MB, free: 13.82 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 9.911e-05/0.01053, allocations: 172.4 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.01056, allocations: 19.91 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.01076, allocations: 131 kB / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01076, allocations: 0 / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.01077, allocations: 0 / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01077, allocations: 0 / 382.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.01113, allocations: 444.6 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.01113, allocations: 4.031 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.01117, allocations: 19.98 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.01117, allocations: 4 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.01118, allocations: 0 / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.01119, allocations: 4 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.01119, allocations: 7.875 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01138, allocations: 279.1 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.0114, allocations: 15.89 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01141, allocations: 8 kB / 383.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.01146, allocations: 4 kB / 383.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.0115, allocations: 15.92 kB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.01152, allocations: 8 kB / 383.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.919e-05/0.01161, allocations: 179.1 kB / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.0118, allocations: 31.94 kB / 383.8 MB, free: 12.4 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.001153/0.01296, allocations: 0.4939 MB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.01311, allocations: 67.53 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01311, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.01316, allocations: 39.61 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.01343, allocations: 36.12 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.01385, allocations: 273.6 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.764e-05/0.0139, allocations: 75.33 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.01394, allocations: 20.62 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.01398, allocations: 16.5 kB / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01398, allocations: 0 / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of Templates: time 0.004101/0.01808, allocations: 2.126 MB / 386.9 MB, free: 9.418 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.577854811679572]