Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001007/0.001007, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001011/0.001011, allocations: 162.2 kB / 24.84 MB, free: 8.711 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.9684/0.9684, allocations: 158.6 MB / 186.7 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.1421/0.1421, allocations: 32.38 MB / 271.5 MB, free: 14.41 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.512e-05, allocations: 8.219 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003135/0.00317, allocations: 1.738 MB / 350.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.004255, allocations: 0.8076 MB / 351.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.808e-05/0.004343, allocations: 0 / 351.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.004707, allocations: 43.7 kB / 351.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.004969, allocations: 59.64 kB / 351.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.005264, allocations: 87.69 kB / 351.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.005428, allocations: 103.6 kB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.005545, allocations: 4.234 kB / 351.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.005646, allocations: 59.81 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.005744, allocations: 27.91 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.005767, allocations: 4 kB / 351.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.00592, allocations: 67.84 kB / 352 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.00598, allocations: 15.92 kB / 352 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.006022, allocations: 23.91 kB / 352 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.006245, allocations: 115.6 kB / 352.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.00625, allocations: 0 / 352.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006251, allocations: 4 kB / 352.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.006258, allocations: 0 / 352.1 MB, free: 5.914 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004426/0.0067, allocations: 435.9 kB / 352.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.006749, allocations: 15.95 kB / 352.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.006801, allocations: 12.89 kB / 352.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.007003, allocations: 148.4 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.007025, allocations: 384 / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.007048, allocations: 4.375 kB / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.007231, allocations: 104 kB / 352.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.007248, allocations: 7.938 kB / 352.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.00726, allocations: 4 kB / 352.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.007267, allocations: 0 / 352.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/0.007301, allocations: 15.92 kB / 352.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.007554, allocations: 260.4 kB / 353.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.00766, allocations: 51.03 kB / 353.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.007685, allocations: 23.78 kB / 353.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.007705, allocations: 4 kB / 353.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.762e-05/0.007803, allocations: 72.91 kB / 353.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.624e-06/0.007805, allocations: 0 / 353.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003246/0.008129, allocations: 145.5 kB / 353.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.008157, allocations: 77.11 kB / 353.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.008238, allocations: 205 kB / 353.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.008248, allocations: 29.7 kB / 353.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.00828, allocations: 150.8 kB / 353.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.008307, allocations: 27.83 kB / 353.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.008338, allocations: 27.38 kB / 353.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.008387, allocations: 0.4884 MB / 354.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.008408, allocations: 15.92 kB / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.008444, allocations: 72.67 kB / 354.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.00849, allocations: 55.39 kB / 354.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008491, allocations: 0 / 354.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001004/0.008591, allocations: 101.5 kB / 354.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.008604, allocations: 8 kB / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.008611, allocations: 0 / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.008622, allocations: 0 / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.008696, allocations: 23.92 kB / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.008705, allocations: 0 / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.008749, allocations: 0 / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.008764, allocations: 8.031 kB / 354.7 MB, free: 3.117 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 (11): * Single equations (assignments): 11 * 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 7.002e-05/0.008834, allocations: 160.6 kB / 354.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.008854, allocations: 15.89 kB / 354.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.009003, allocations: 106.3 kB / 355 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.009007, allocations: 4 kB / 355 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.009008, allocations: 0 / 355 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.009013, allocations: 3.984 kB / 355 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.009261, allocations: 357.6 kB / 355.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.009264, allocations: 3.938 kB / 355.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.0093, allocations: 16.02 kB / 355.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.009305, allocations: 4 kB / 355.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.009313, allocations: 4 kB / 355.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.009314, allocations: 0 / 355.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.009316, allocations: 0 / 355.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.009431, allocations: 255.4 kB / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.009445, allocations: 11.94 kB / 355.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.009464, allocations: 8 kB / 355.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.009509, allocations: 0 / 355.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.00954, allocations: 7.984 kB / 355.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.009549, allocations: 8 kB / 355.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.0096, allocations: 158 kB / 355.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0096, allocations: 4 kB / 355.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.009817, allocations: 27.94 kB / 355.8 MB, free: 1.91 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 (10): * Single equations (assignments): 8 * 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.001087/0.0109, allocations: 0.4905 MB / 356.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.01105, allocations: 55.59 kB / 356.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01105, allocations: 0 / 356.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.01108, allocations: 31.61 kB / 356.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.01134, allocations: 43.7 kB / 356.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.01169, allocations: 197.1 kB / 356.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.01172, allocations: 67.33 kB / 356.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.01176, allocations: 17.09 kB / 356.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.01183, allocations: 102.2 kB / 356.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01183, allocations: 0 / 356.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of Templates: time 0.005913/0.01775, allocations: 2.439 MB / 359.2 MB, free: 14.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.3718643076717854]