Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.001208/0.001208, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001511/0.001511, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 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 0.9966/0.9966, allocations: 158.6 MB / 185.7 MB, free: 2.516 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.1454/0.1454, allocations: 32.37 MB / 270.4 MB, free: 14.68 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.917e-05, allocations: 12.16 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001934/0.001953, allocations: 1.742 MB / 349.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.002855, allocations: 0.8038 MB / 350.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.002932, allocations: 7.938 kB / 350.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.003279, allocations: 103.7 kB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.003513, allocations: 91.59 kB / 350.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.003719, allocations: 87.69 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.00389, allocations: 123.7 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.003993, allocations: 11.98 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.004081, allocations: 71.75 kB / 350.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.004182, allocations: 67.84 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.004204, allocations: 8 kB / 350.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.004294, allocations: 43.92 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.004358, allocations: 35.84 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.004405, allocations: 19.94 kB / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.004596, allocations: 119.5 kB / 351.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.004599, allocations: 4 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.0046, allocations: 0 / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.004605, allocations: 0 / 351.1 MB, free: 6.012 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004475/0.005053, allocations: 483.5 kB / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.00509, allocations: 12.03 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.005138, allocations: 16.84 kB / 351.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005287, allocations: 160.2 kB / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.005305, allocations: 384 / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.005331, allocations: 16.36 kB / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.005452, allocations: 74.88 kB / 351.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005462, allocations: 3.938 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.005472, allocations: 0 / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.005479, allocations: 0 / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.438e-05/0.005523, allocations: 23.97 kB / 351.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.005788, allocations: 323.6 kB / 352.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.005902, allocations: 67.16 kB / 352.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.005932, allocations: 19.69 kB / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.005946, allocations: 4 kB / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.666e-05/0.006033, allocations: 77.06 kB / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.006034, allocations: 0 / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003841/0.006418, allocations: 193.3 kB / 352.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.00644, allocations: 59.34 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.00655, allocations: 262.8 kB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.006558, allocations: 25.7 kB / 352.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.006601, allocations: 166.7 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.006627, allocations: 43.69 kB / 353.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.006656, allocations: 27.38 kB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.006714, allocations: 0.5117 MB / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.00674, allocations: 16 kB / 353.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.006776, allocations: 47.34 kB / 353.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/0.006837, allocations: 63.31 kB / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.006838, allocations: 0 / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001036/0.006941, allocations: 121.5 kB / 353.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.006952, allocations: 4 kB / 353.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006957, allocations: 0 / 353.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.00697, allocations: 0 / 353.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.007043, allocations: 28.02 kB / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007048, allocations: 0 / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.007076, allocations: 11.94 kB / 353.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.007082, allocations: 0 / 353.9 MB, free: 2.973 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 (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.172e-05/0.007134, allocations: 172.4 kB / 354.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.00715, allocations: 19.91 kB / 354.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.007306, allocations: 135.6 kB / 354.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007308, allocations: 4 kB / 354.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.007312, allocations: 4 kB / 354.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007316, allocations: 0 / 354.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.007596, allocations: 448.9 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007598, allocations: 0 / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.00764, allocations: 23.92 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.007643, allocations: 3.938 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.007653, allocations: 4 kB / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.007656, allocations: 0 / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007657, allocations: 0 / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.007802, allocations: 291.4 kB / 355 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.007816, allocations: 15.89 kB / 355 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.007836, allocations: 32 / 355 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.242e-05/0.007879, allocations: 12 kB / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.007923, allocations: 11.92 kB / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.007939, allocations: 7.984 kB / 355 MB, free: 1.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.047e-05/0.008009, allocations: 195 kB / 355.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008009, allocations: 0 / 355.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.008195, allocations: 31.94 kB / 355.2 MB, free: 1.531 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.0009111/0.009106, allocations: 429.9 kB / 355.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.009248, allocations: 79.53 kB / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.00925, allocations: 0 / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.009295, allocations: 47.59 kB / 355.8 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.009524, allocations: 43.22 kB / 355.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.009886, allocations: 281.5 kB / 356.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.009921, allocations: 71.33 kB / 356.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.565e-05/0.009957, allocations: 20.75 kB / 356.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.009994, allocations: 24.5 kB / 356.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.009995, allocations: 0 / 356.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of Templates: time 0.003935/0.01393, allocations: 2.084 MB / 358.3 MB, free: 14.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.522638314869255]