Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.00109/0.00109, allocations: 81.08 kB / 20.65 MB, free: 3.844 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.001681/0.001681, allocations: 177.4 kB / 24.06 MB, free: 456 kB / 18.57 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.022/1.022, allocations: 158.6 MB / 185.9 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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.1562/0.1562, allocations: 32.36 MB / 270.7 MB, free: 14.55 MB / 266.7 MB " [Timeout remaining time 180] 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.862e-05, allocations: 8.219 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002952/0.00299, allocations: 1.722 MB / 349.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004382, allocations: 0.7843 MB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/0.004476, allocations: 7.938 kB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.004853, allocations: 51.75 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.005092, allocations: 51.75 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.005314, allocations: 95.62 kB / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.005471, allocations: 115.6 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.005591, allocations: 12.17 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.005686, allocations: 59.81 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.005779, allocations: 43.88 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.005799, allocations: 4 kB / 351.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.005877, allocations: 43.98 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.005928, allocations: 35.84 kB / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.005965, allocations: 19.92 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.006113, allocations: 111.6 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006115, allocations: 4 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006116, allocations: 0 / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.00612, allocations: 0 / 351.4 MB, free: 5.926 MB / 282.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.0004033/0.006523, allocations: 455.8 kB / 351.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.00657, allocations: 8.031 kB / 351.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.006609, allocations: 16.84 kB / 351.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.006743, allocations: 154.8 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.006761, allocations: 8.375 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.006778, allocations: 384 / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.006917, allocations: 70.92 kB / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.006928, allocations: 3.938 kB / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.006937, allocations: 0 / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006943, allocations: 0 / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.006986, allocations: 31.89 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.007292, allocations: 276.3 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.007415, allocations: 67.14 kB / 352.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.007443, allocations: 27.67 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.007465, allocations: 3.938 kB / 352.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.007577, allocations: 72.98 kB / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.007578, allocations: 0 / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003997/0.007978, allocations: 169.5 kB / 352.7 MB, free: 4.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.008003, allocations: 55.39 kB / 352.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.008104, allocations: 222.5 kB / 353 MB, free: 4.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.008115, allocations: 29.7 kB / 353 MB, free: 4.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.008161, allocations: 154.8 kB / 353.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.008193, allocations: 35.72 kB / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.008228, allocations: 43.3 kB / 353.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.008294, allocations: 0.4923 MB / 353.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.008315, allocations: 15.98 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.008348, allocations: 43.28 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.208e-05/0.0084, allocations: 51.36 kB / 353.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008402, allocations: 3.938 kB / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001063/0.008508, allocations: 109.5 kB / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008521, allocations: 7.984 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008525, allocations: 0 / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.008539, allocations: 8.031 kB / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.008606, allocations: 16 kB / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.008609, allocations: 0 / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.008635, allocations: 7.984 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.008641, allocations: 4 kB / 354 MB, free: 3.09 MB / 282.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 (12): * Single equations (assignments): 12 * 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.573e-05/0.008697, allocations: 168.5 kB / 354.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.008711, allocations: 15.91 kB / 354.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.008858, allocations: 131 kB / 354.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.00886, allocations: 0 / 354.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.008862, allocations: 4 kB / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.008866, allocations: 0 / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.009111, allocations: 405.4 kB / 354.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.009113, allocations: 0 / 354.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.00915, allocations: 19.98 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009152, allocations: 0 / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.009159, allocations: 8 kB / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00916, allocations: 0 / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009161, allocations: 0 / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.009281, allocations: 279.4 kB / 355 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.009292, allocations: 15.94 kB / 355 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.009308, allocations: 4 kB / 355 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.009347, allocations: 4 kB / 355 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.009379, allocations: 7.984 kB / 355 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.009398, allocations: 7.984 kB / 355 MB, free: 1.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.009442, allocations: 163.8 kB / 355.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009442, allocations: 0 / 355.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.009609, allocations: 24 kB / 355.2 MB, free: 1.777 MB / 282.7 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 (13): * Single equations (assignments): 11 * 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.0009094/0.01052, allocations: 447.4 kB / 355.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.01065, allocations: 63.64 kB / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01065, allocations: 0 / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.01069, allocations: 43.59 kB / 355.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01093, allocations: 44.09 kB / 355.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.01129, allocations: 233.4 kB / 356 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.01133, allocations: 71.33 kB / 356.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.01138, allocations: 20.77 kB / 356.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.01145, allocations: 94.19 kB / 356.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01146, allocations: 0 / 356.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of Templates: time 0.004197/0.01565, allocations: 2.302 MB / 358.5 MB, free: 14.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.2721103811636567]