Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001144/0.001144, allocations: 95.22 kB / 20.43 MB, free: 4.141 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.001529/0.001529, allocations: 169 kB / 23.8 MB, free: 0.7734 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 1.041/1.041, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.153/0.153, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test50,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.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,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.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.072e-05, allocations: 5.406 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002269/0.0023, allocations: 1.73 MB / 349.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003589, allocations: 1.528 MB / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.003661, allocations: 0 / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.003964, allocations: 39.83 kB / 351 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.004218, allocations: 59.64 kB / 351.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.004438, allocations: 87.69 kB / 351.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.004585, allocations: 103.7 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.004679, allocations: 20.09 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.004756, allocations: 47.91 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.004858, allocations: 35.89 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.004877, allocations: 4 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.004992, allocations: 67.89 kB / 351.5 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.005035, allocations: 19.86 kB / 351.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.005074, allocations: 19.94 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.005288, allocations: 123.5 kB / 351.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005292, allocations: 3.984 kB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.005293, allocations: 0 / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.005299, allocations: 4 kB / 351.6 MB, free: 5.465 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.0004562/0.005755, allocations: 436 kB / 352.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.0058, allocations: 8.031 kB / 352.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.005855, allocations: 16.88 kB / 352.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.006008, allocations: 148.9 kB / 352.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.006026, allocations: 4.375 kB / 352.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.006046, allocations: 4.375 kB / 352.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006199, allocations: 119.4 kB / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.00621, allocations: 7.938 kB / 352.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.006221, allocations: 0 / 352.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.006228, allocations: 4 kB / 352.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.006275, allocations: 15.98 kB / 352.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.006551, allocations: 291.6 kB / 352.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.006661, allocations: 63.16 kB / 352.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.006689, allocations: 15.69 kB / 352.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.006699, allocations: 4 kB / 352.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.337e-05/0.006793, allocations: 77.03 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.006794, allocations: 0 / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003901/0.007184, allocations: 177.7 kB / 353 MB, free: 3.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.007212, allocations: 77.11 kB / 353.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.007307, allocations: 217.8 kB / 353.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.007315, allocations: 25.7 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.007349, allocations: 146.9 kB / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.007372, allocations: 31.73 kB / 353.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.007408, allocations: 31.38 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.007452, allocations: 0.4961 MB / 354 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.007477, allocations: 15.98 kB / 354 MB, free: 2.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.007515, allocations: 72.69 kB / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.713e-05/0.007572, allocations: 63.34 kB / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007573, allocations: 0 / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001068/0.00768, allocations: 97.59 kB / 354.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.007693, allocations: 4 kB / 354.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007697, allocations: 4 kB / 354.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.007709, allocations: 0 / 354.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.007787, allocations: 23.98 kB / 354.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.007793, allocations: 3.938 kB / 354.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.007821, allocations: 3.938 kB / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.007828, allocations: 8.016 kB / 354.3 MB, free: 2.539 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 5.415e-05/0.007882, allocations: 164.6 kB / 354.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.007898, allocations: 19.91 kB / 354.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.008051, allocations: 122.4 kB / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008053, allocations: 0 / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.008057, allocations: 0 / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.00806, allocations: 0 / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.00833, allocations: 412.9 kB / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.008332, allocations: 0 / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.008364, allocations: 12 kB / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.008367, allocations: 8.016 kB / 355 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.008375, allocations: 7.984 kB / 355 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.008378, allocations: 3.938 kB / 355 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.00838, allocations: 0 / 355 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.008502, allocations: 275.3 kB / 355.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.008513, allocations: 7.953 kB / 355.3 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.008532, allocations: 8 kB / 355.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.008575, allocations: 7.922 kB / 355.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.008607, allocations: 11.98 kB / 355.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.008622, allocations: 4 kB / 355.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.429e-05/0.008677, allocations: 159.2 kB / 355.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008677, allocations: 0 / 355.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.00886, allocations: 35.94 kB / 355.5 MB, free: 1.219 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 (11): * Single equations (assignments): 9 * 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.0009168/0.009777, allocations: 480.4 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.009907, allocations: 63.59 kB / 356.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009909, allocations: 8 kB / 356.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.009946, allocations: 39.61 kB / 356.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01017, allocations: 32.22 kB / 356.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.01048, allocations: 217.3 kB / 356.4 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.792e-05/0.01051, allocations: 67.33 kB / 356.4 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.777e-05/0.01054, allocations: 16.97 kB / 356.4 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.01058, allocations: 28.56 kB / 356.5 MB, free: 324 kB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01058, allocations: 0 / 356.5 MB, free: 324 kB / 282.7 MB Notification: Performance of Templates: time 0.004258/0.01484, allocations: 2.435 MB / 358.9 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.2034617429599166]