Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001555/0.001555, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001448/0.001448, allocations: 165 kB / 23.8 MB, free: 0.7773 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.031/1.031, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1608/0.1608, 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 3.938 kB / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.561e-05, allocations: 8.219 kB / 347.8 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00235/0.002386, allocations: 1.73 MB / 349.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.003658, allocations: 1.524 MB / 351 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.00373, allocations: 0 / 351 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.004055, allocations: 39.83 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.004286, allocations: 63.62 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.004448, allocations: 83.7 kB / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.004587, allocations: 103.6 kB / 351.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.004682, allocations: 8.234 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.004757, allocations: 51.83 kB / 351.4 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004864, allocations: 35.89 kB / 351.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.004884, allocations: 4 kB / 351.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.005225, allocations: 55.92 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.005288, allocations: 19.91 kB / 351.5 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.005337, allocations: 19.92 kB / 351.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.005562, allocations: 115.5 kB / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005565, allocations: 0 / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005566, allocations: 3.938 kB / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.005571, allocations: 4 kB / 351.6 MB, free: 5.5 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.0004542/0.006025, allocations: 432 kB / 352 MB, free: 5.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.006069, allocations: 12.03 kB / 352 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.006122, allocations: 8.891 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.006275, allocations: 140.5 kB / 352.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.006295, allocations: 4.375 kB / 352.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.006316, allocations: 12.3 kB / 352.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.006475, allocations: 108 kB / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.006487, allocations: 3.938 kB / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.006499, allocations: 0 / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.006507, allocations: 4 kB / 352.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.006557, allocations: 11.98 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.006849, allocations: 271.8 kB / 352.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.006957, allocations: 55.11 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.006983, allocations: 27.59 kB / 352.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.006995, allocations: 0 / 352.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.003e-05/0.007085, allocations: 69.05 kB / 352.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.007086, allocations: 0 / 352.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003742/0.00746, allocations: 165.5 kB / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.00749, allocations: 81.09 kB / 353 MB, free: 3.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.007581, allocations: 208.9 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.00759, allocations: 29.64 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.007622, allocations: 142.9 kB / 353.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.007644, allocations: 23.8 kB / 353.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.00768, allocations: 35.36 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.00773, allocations: 0.4884 MB / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.007753, allocations: 12 kB / 353.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.007787, allocations: 68.75 kB / 354 MB, free: 2.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.445e-05/0.007841, allocations: 59.31 kB / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007843, allocations: 0 / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.794e-05/0.00794, allocations: 93.53 kB / 354.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007954, allocations: 4 kB / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.007959, allocations: 0 / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.007972, allocations: 0 / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.008046, allocations: 23.92 kB / 354.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.008052, allocations: 0 / 354.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.00808, allocations: 0 / 354.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.008086, allocations: 4 kB / 354.2 MB, free: 2.691 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.348e-05/0.008139, allocations: 170.8 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.008154, allocations: 11.95 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.008289, allocations: 106.5 kB / 354.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008292, allocations: 4 kB / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.008295, allocations: 0 / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008298, allocations: 0 / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.008523, allocations: 385 kB / 354.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008524, allocations: 0 / 354.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.008553, allocations: 11.98 kB / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.008556, allocations: 4.031 kB / 354.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.008564, allocations: 4 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008565, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.008566, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.008669, allocations: 259.4 kB / 355.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.008682, allocations: 11.95 kB / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.008699, allocations: 0 / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.00874, allocations: 7.984 kB / 355.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.008782, allocations: 7.938 kB / 355.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.008797, allocations: 15.92 kB / 355.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.439e-05/0.008842, allocations: 158.9 kB / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008842, allocations: 0 / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.009047, allocations: 31.92 kB / 355.3 MB, free: 1.445 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.00101/0.01006, allocations: 482.2 kB / 355.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.01019, allocations: 59.58 kB / 355.9 MB, free: 1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01019, allocations: 4.062 kB / 355.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.01023, allocations: 35.61 kB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01045, allocations: 35.83 kB / 355.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.01076, allocations: 189.1 kB / 356.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.504e-05/0.01078, allocations: 67.25 kB / 356.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.01082, allocations: 12.48 kB / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.01085, allocations: 28.55 kB / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01085, allocations: 0 / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of Templates: time 0.004407/0.01526, allocations: 2.294 MB / 358.5 MB, free: 14.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.3896191460080445]