Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001568/0.001568, allocations: 76.14 kB / 19.93 MB, free: 1.773 MB / 14.72 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.001669/0.001669, allocations: 172.6 kB / 23.22 MB, free: 4.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3421/0.3421, allocations: 32.37 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.685e-05, allocations: 8.391 kB / 407.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.0037/0.003737, allocations: 1.678 MB / 409.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.005371, allocations: 0.7802 MB / 409.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.005451, allocations: 3.938 kB / 409.9 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.005884, allocations: 47.81 kB / 410 MB, free: 404 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.00616, allocations: 67.69 kB / 410 MB, free: 336 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.006457, allocations: 87.02 kB / 410.1 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.00667, allocations: 99.69 kB / 410.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.006787, allocations: 12.16 kB / 410.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.006904, allocations: 51.78 kB / 410.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.938e-05/0.007004, allocations: 31.89 kB / 410.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.007029, allocations: 4 kB / 410.3 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.007138, allocations: 43.92 kB / 410.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.00725, allocations: 27.98 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.007307, allocations: 15.94 kB / 410.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.007597, allocations: 139.5 kB / 410.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.007601, allocations: 0 / 410.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.007603, allocations: 0 / 410.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.007615, allocations: 0 / 410.5 MB, free: 15.82 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007312/0.008346, allocations: 377.3 kB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.008399, allocations: 11.97 kB / 410.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.008466, allocations: 16.84 kB / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.008899, allocations: 150.5 kB / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.008918, allocations: 4.375 kB / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.008951, allocations: 4.375 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.00914, allocations: 58.23 kB / 411.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.009163, allocations: 7.922 kB / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.009175, allocations: 0 / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.009181, allocations: 7.938 kB / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.00927, allocations: 19.98 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.009724, allocations: 244.5 kB / 411.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.009936, allocations: 54.67 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.01001, allocations: 28.8 kB / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.01003, allocations: 4 kB / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.0102, allocations: 79.27 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.01021, allocations: 0 / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006996/0.01091, allocations: 181.4 kB / 411.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.01097, allocations: 59.34 kB / 411.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.01132, allocations: 271.8 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.01135, allocations: 29.7 kB / 412.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01146, allocations: 116.1 kB / 412.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.01151, allocations: 27.78 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.01156, allocations: 21.72 kB / 412.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.01173, allocations: 334.8 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.01179, allocations: 20 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.01188, allocations: 41.64 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01201, allocations: 65.58 kB / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01201, allocations: 0 / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002224/0.01224, allocations: 105.6 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01225, allocations: 4 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01226, allocations: 4 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01228, allocations: 4.031 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01238, allocations: 19.92 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01239, allocations: 0 / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.01243, allocations: 4 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01245, allocations: 8 kB / 412.9 MB, free: 13.3 MB / 350.1 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 (10): * Single equations (assignments): 10 * 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.0001497/0.0126, allocations: 137.8 kB / 413 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.01263, allocations: 15.91 kB / 413 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.01296, allocations: 127.2 kB / 413.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01296, allocations: 4 kB / 413.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01297, allocations: 4 kB / 413.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01297, allocations: 0 / 413.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.01355, allocations: 362.9 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01356, allocations: 0 / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.0136, allocations: 11.94 kB / 413.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.0136, allocations: 4 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.01362, allocations: 3.984 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01362, allocations: 384 / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01362, allocations: 0 / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.01393, allocations: 220.2 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.01396, allocations: 19.94 kB / 413.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.01399, allocations: 4 kB / 413.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.01407, allocations: 7.984 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.01412, allocations: 7.938 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.01415, allocations: 4.359 kB / 413.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.01438, allocations: 217.4 kB / 414 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01438, allocations: 0 / 414 MB, free: 12.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.01468, allocations: 31.92 kB / 414 MB, free: 12.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002001/0.01668, allocations: 491.1 kB / 414.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.01692, allocations: 63.84 kB / 414.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01692, allocations: 0 / 414.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.01701, allocations: 31.98 kB / 414.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.01745, allocations: 38.94 kB / 414.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.01814, allocations: 299 kB / 414.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.01828, allocations: 109.1 kB / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.01832, allocations: 16.66 kB / 415 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.01837, allocations: 24.48 kB / 415.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.01837, allocations: 0 / 415.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Templates: time 0.006064/0.02443, allocations: 1.844 MB / 416.9 MB, free: 9.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.516910698264837]