Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.0009349/0.0009349, 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.0009938/0.0009938, allocations: 171.5 kB / 25.61 MB, free: 8.582 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.9435/0.9435, allocations: 177.2 MB / 206.1 MB, free: 4.48 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.1463/0.1463, allocations: 34.25 MB / 296.9 MB, free: 13.91 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.267e-05, allocations: 6.312 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.005486/0.005498, allocations: 1.766 MB / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.006361, allocations: 1.005 MB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.006426, allocations: 4 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.006676, allocations: 79.64 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.006917, allocations: 115.5 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.007062, allocations: 87.53 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.007194, allocations: 123.7 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.19e-05/0.007266, allocations: 8 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.555e-05/0.007352, allocations: 79.73 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.007432, allocations: 47.89 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.007445, allocations: 4 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.007533, allocations: 67.84 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.013e-05/0.007573, allocations: 23.86 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.007604, allocations: 27.91 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.007752, allocations: 123.5 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.007754, allocations: 0 / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.007754, allocations: 0 / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.007757, allocations: 0 / 382.9 MB, free: 19.74 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003173/0.008074, allocations: 467.7 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.008101, allocations: 12.03 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.008137, allocations: 16.84 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.008249, allocations: 152.4 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.008266, allocations: 8.375 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.008283, allocations: 12.31 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/0.008372, allocations: 66.88 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.008382, allocations: 3.938 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.008388, allocations: 0 / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.008392, allocations: 0 / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.008421, allocations: 11.98 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.008621, allocations: 272.4 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.008747, allocations: 58.97 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.008769, allocations: 15.67 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.008779, allocations: 7.938 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/0.00885, allocations: 69.02 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.00885, allocations: 0 / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004185/0.009269, allocations: 193.4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.00929, allocations: 59.34 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.009407, allocations: 239.5 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.009418, allocations: 29.7 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.009462, allocations: 158.8 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.009495, allocations: 39.69 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.009534, allocations: 35.34 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.009588, allocations: 0.5039 MB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.009618, allocations: 15.98 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.009654, allocations: 34.73 kB / 385.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.009717, allocations: 59.36 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.009718, allocations: 4 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001387/0.009857, allocations: 105.5 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.009868, allocations: 8 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009873, allocations: 0 / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.009882, allocations: 3.984 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.009958, allocations: 23.92 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.009962, allocations: 4 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.009999, allocations: 0 / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.01001, allocations: 8 kB / 385.6 MB, free: 16.87 MB / 314.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 5.93e-05/0.01007, allocations: 171.9 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.01009, allocations: 15.91 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.01026, allocations: 131.8 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01026, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01026, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01027, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.01055, allocations: 409.1 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01055, allocations: 4 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.01059, allocations: 15.98 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.0106, allocations: 4.062 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.0106, allocations: 8 kB / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01061, allocations: 0 / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01061, allocations: 0 / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.01075, allocations: 283 kB / 386.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.01076, allocations: 23.83 kB / 386.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.01078, allocations: 4 kB / 386.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.01085, allocations: 0 / 386.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.01088, allocations: 15.92 kB / 386.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.01089, allocations: 4 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.134e-05/0.01095, allocations: 177.6 kB / 386.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01095, allocations: 4 kB / 386.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.01117, allocations: 27.94 kB / 386.9 MB, free: 15.52 MB / 314.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.0009136/0.01208, allocations: 490 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.01217, allocations: 63.53 kB / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01217, allocations: 0 / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.01221, allocations: 39.61 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.01242, allocations: 36.92 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.01267, allocations: 258.4 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.0127, allocations: 75.2 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.01273, allocations: 20.81 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.01278, allocations: 98.19 kB / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01278, allocations: 0 / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of Templates: time 0.003196/0.01598, allocations: 2.335 MB / 390.2 MB, free: 12.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.10702929738909]