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.0009902/0.0009902, 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.0009792/0.0009792, 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 0.9631/0.9631, allocations: 158.6 MB / 186 MB, free: 2.766 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.1438/0.1438, allocations: 32.38 MB / 270.7 MB, free: 14.52 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 1.963e-06/1.963e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.182e-05, allocations: 9.344 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002452/0.002474, allocations: 1.742 MB / 349.9 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.003395, allocations: 0.796 MB / 350.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.00349, allocations: 4 kB / 350.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.003948, allocations: 43.7 kB / 350.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.004338, allocations: 55.64 kB / 350.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.004685, allocations: 91.69 kB / 350.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.004898, allocations: 99.64 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.005032, allocations: 8.219 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.005144, allocations: 63.77 kB / 351.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.005242, allocations: 31.89 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.005261, allocations: 4 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.005385, allocations: 59.91 kB / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.005428, allocations: 19.92 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.005459, allocations: 23.92 kB / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.005629, allocations: 107.6 kB / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005632, allocations: 0 / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005633, allocations: 0 / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.005637, allocations: 7.938 kB / 351.4 MB, free: 5.93 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.0003308/0.005967, allocations: 447.9 kB / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.006004, allocations: 8.031 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.006044, allocations: 8.891 kB / 351.8 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.006169, allocations: 148.4 kB / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.006184, allocations: 384 / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.006202, allocations: 4.375 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.006344, allocations: 115.9 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.006353, allocations: 3.938 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.006364, allocations: 4 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.006369, allocations: 0 / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.838e-05/0.006397, allocations: 19.97 kB / 352.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.006645, allocations: 252.5 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.605e-05/0.006741, allocations: 62.95 kB / 352.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.006763, allocations: 11.69 kB / 352.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.006792, allocations: 4 kB / 352.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.006895, allocations: 73.09 kB / 352.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.006897, allocations: 0 / 352.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003409/0.007238, allocations: 141.5 kB / 352.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.00727, allocations: 77.11 kB / 352.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/0.00735, allocations: 205 kB / 352.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.007363, allocations: 37.64 kB / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.007395, allocations: 146.8 kB / 353.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.007419, allocations: 27.83 kB / 353.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.00745, allocations: 31.36 kB / 353.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.007494, allocations: 0.4922 MB / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.007509, allocations: 11.98 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.007543, allocations: 64.75 kB / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/0.007587, allocations: 59.38 kB / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007588, allocations: 4.031 kB / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.683e-05/0.007685, allocations: 97.41 kB / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.007697, allocations: 4 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.007703, allocations: 4 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007714, allocations: 0 / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.007779, allocations: 15.98 kB / 353.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.007782, allocations: 4 kB / 353.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.007812, allocations: 0 / 353.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.007824, allocations: 4 kB / 353.9 MB, free: 3.137 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 6.122e-05/0.007886, allocations: 164.6 kB / 354.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.007902, allocations: 19.88 kB / 354.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.008037, allocations: 106.3 kB / 354.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00804, allocations: 4 kB / 354.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.008042, allocations: 0 / 354.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008046, allocations: 0 / 354.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.008279, allocations: 365.5 kB / 354.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.008281, allocations: 0 / 354.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.008314, allocations: 12 kB / 354.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008316, allocations: 4 kB / 354.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.008322, allocations: 4.031 kB / 354.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008324, allocations: 7.922 kB / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008325, allocations: 0 / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.008428, allocations: 259.4 kB / 354.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.008438, allocations: 7.953 kB / 354.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.008454, allocations: 8 kB / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.008494, allocations: 0 / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.008521, allocations: 7.984 kB / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.008529, allocations: 4 kB / 354.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.008564, allocations: 147.2 kB / 355 MB, free: 1.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008564, allocations: 3.938 kB / 355 MB, free: 1.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.008747, allocations: 39.92 kB / 355 MB, free: 1.918 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.001173/0.009921, allocations: 487 kB / 355.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.01004, allocations: 55.59 kB / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01004, allocations: 4.062 kB / 355.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.01008, allocations: 39.59 kB / 355.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01032, allocations: 39.7 kB / 355.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.01063, allocations: 197.1 kB / 355.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.665e-05/0.01066, allocations: 63.34 kB / 355.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.168e-05/0.0107, allocations: 16.95 kB / 355.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.01076, allocations: 102.2 kB / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01076, allocations: 0 / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of Templates: time 0.004943/0.0157, allocations: 2.43 MB / 358.4 MB, free: 14.55 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.214479228015989]