Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.0009596/0.0009596, allocations: 80.2 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.001065/0.001065, allocations: 173 kB / 24.06 MB, free: 452 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.06/1.06, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1649/0.1649, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.702e-05, allocations: 10.25 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002877/0.002904, allocations: 1.725 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.004142, allocations: 0.792 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.004234, allocations: 0 / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.004606, allocations: 47.7 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.004845, allocations: 43.77 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.00512, allocations: 95.62 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.005285, allocations: 95.7 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.005384, allocations: 8.219 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.005485, allocations: 51.83 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.005567, allocations: 23.92 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.005587, allocations: 4 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.005686, allocations: 51.91 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.005736, allocations: 19.86 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.005778, allocations: 19.92 kB / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.005983, allocations: 99.59 kB / 351.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005985, allocations: 0 / 351.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005986, allocations: 4 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005989, allocations: 0 / 351.3 MB, free: 6.004 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000457/0.006446, allocations: 435.9 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.006493, allocations: 8.031 kB / 351.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.006539, allocations: 20.88 kB / 351.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.006674, allocations: 144.4 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.006692, allocations: 8.359 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.00671, allocations: 4.328 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.006819, allocations: 66.88 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.006831, allocations: 7.875 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.006838, allocations: 0 / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.006843, allocations: 0 / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.006873, allocations: 11.98 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.007123, allocations: 252.5 kB / 352.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.007215, allocations: 63.08 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.007238, allocations: 15.69 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.007254, allocations: 0 / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.889e-05/0.007343, allocations: 68.98 kB / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.007344, allocations: 0 / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003432/0.007687, allocations: 137.4 kB / 352.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.007707, allocations: 55.39 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.007812, allocations: 216 kB / 352.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.007824, allocations: 33.7 kB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.007863, allocations: 146.8 kB / 352.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.00789, allocations: 31.8 kB / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.007929, allocations: 35.34 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.007994, allocations: 0.4923 MB / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.008014, allocations: 11.94 kB / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.008047, allocations: 31.34 kB / 353.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/0.008098, allocations: 47.36 kB / 353.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.0081, allocations: 0 / 353.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001098/0.008209, allocations: 89.53 kB / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008222, allocations: 8.031 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.008228, allocations: 4.078 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.008244, allocations: 0 / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.00832, allocations: 19.98 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.008325, allocations: 3.984 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.008362, allocations: 4 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.008369, allocations: 0 / 353.7 MB, free: 3.355 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 (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 5.733e-05/0.008426, allocations: 164.5 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.008446, allocations: 19.84 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.008588, allocations: 98.38 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.00859, allocations: 4 kB / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008592, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008596, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.00887, allocations: 369.5 kB / 354.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008873, allocations: 0 / 354.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.008903, allocations: 8 kB / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008905, allocations: 384 / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.008914, allocations: 8 kB / 354.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.008917, allocations: 4 kB / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008918, allocations: 0 / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.009046, allocations: 259.4 kB / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.009059, allocations: 11.94 kB / 354.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.009077, allocations: 0 / 354.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.009142, allocations: 4 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.009168, allocations: 7.984 kB / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.009181, allocations: 4 kB / 354.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.009234, allocations: 160 kB / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009234, allocations: 0 / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002679/0.009502, allocations: 23.94 kB / 354.8 MB, free: 2.156 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 (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.001111/0.01061, allocations: 438.7 kB / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.01072, allocations: 55.53 kB / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01072, allocations: 0 / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.01077, allocations: 27.83 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.01108, allocations: 39.95 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.01142, allocations: 217.3 kB / 355.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.01146, allocations: 71.33 kB / 355.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.173e-05/0.0115, allocations: 16.61 kB / 355.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.01158, allocations: 86.19 kB / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01158, allocations: 0 / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Templates: time 0.004416/0.01599, allocations: 2.017 MB / 357.8 MB, free: 15.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.3565619457513094]