Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008129/0.0008129, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002025, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002349, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9639/0.9639, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1814/1.145, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 32.81 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02355/0.237, allocations: 12.53 MB / 284.5 MB, free: 9.703 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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",fileNamePrefix="ModelicaTest_4.0.0_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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 285.9 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.334e-05, allocations: 5.406 kB / 286 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00307/0.003093, allocations: 1.78 MB / 287.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004523, allocations: 0.896 MB / 288.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.004576, allocations: 0 / 288.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.004745, allocations: 43.64 kB / 288.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.004871, allocations: 59.58 kB / 288.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.005061, allocations: 115.5 kB / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.00519, allocations: 99.69 kB / 288.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.18e-05/0.005252, allocations: 4.234 kB / 288.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.005359, allocations: 91.69 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.005432, allocations: 27.91 kB / 289.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.005447, allocations: 4 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.005556, allocations: 67.86 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.005593, allocations: 15.92 kB / 289.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.00562, allocations: 15.94 kB / 289.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.005773, allocations: 103.7 kB / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.005783, allocations: 0 / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.005784, allocations: 0 / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.005791, allocations: 0 / 289.3 MB, free: 4.965 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.0003506/0.006142, allocations: 331.9 kB / 289.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.00617, allocations: 12.03 kB / 289.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.006197, allocations: 8.922 kB / 289.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.006327, allocations: 145.6 kB / 289.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.006338, allocations: 384 / 289.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.006354, allocations: 4.375 kB / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.006479, allocations: 105.2 kB / 289.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006487, allocations: 3.938 kB / 289.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.006493, allocations: 0 / 289.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.006497, allocations: 3.984 kB / 289.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.006522, allocations: 22.75 kB / 289.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.006679, allocations: 157.9 kB / 290 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.823e-05/0.006767, allocations: 100.2 kB / 290.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.006785, allocations: 12.84 kB / 290.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.006793, allocations: 4 kB / 290.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.144e-05/0.006875, allocations: 74.2 kB / 290.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.006875, allocations: 0 / 290.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002593/0.007135, allocations: 129.8 kB / 290.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.007157, allocations: 51.41 kB / 290.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.007247, allocations: 154.4 kB / 290.6 MB, free: 3.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.007261, allocations: 29.7 kB / 290.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.007292, allocations: 99.97 kB / 290.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.007321, allocations: 35.67 kB / 290.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.007359, allocations: 25.7 kB / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.007432, allocations: 326.8 kB / 291.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.007451, allocations: 10.83 kB / 291.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.007488, allocations: 64.19 kB / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.007538, allocations: 59.27 kB / 291.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007539, allocations: 0 / 291.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.022e-05/0.00762, allocations: 72.44 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.007632, allocations: 12.06 kB / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.007635, allocations: 0 / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.007643, allocations: 0 / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.007711, allocations: 23.98 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.007713, allocations: 160 / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.007744, allocations: 11.98 kB / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.00775, allocations: 3.984 kB / 291.3 MB, free: 2.707 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.983e-05/0.00781, allocations: 124.5 kB / 291.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.007823, allocations: 11.98 kB / 291.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.503e-05/0.007918, allocations: 78.39 kB / 291.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.00792, allocations: 4 kB / 291.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.007921, allocations: 0 / 291.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.007925, allocations: 3.984 kB / 291.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.00815, allocations: 351.2 kB / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008152, allocations: 0 / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.008183, allocations: 15.98 kB / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.008192, allocations: 7.953 kB / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008194, allocations: 0 / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.008201, allocations: 8 kB / 291.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008202, allocations: 0 / 291.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.008205, allocations: 11.97 kB / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.008309, allocations: 223 kB / 292.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.008325, allocations: 8 kB / 292.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.008363, allocations: 4 kB / 292.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.008384, allocations: 3.984 kB / 292.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.008398, allocations: 11.94 kB / 292.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.008433, allocations: 41.89 kB / 292.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008433, allocations: 0 / 292.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.008589, allocations: 39.88 kB / 292.2 MB, free: 1.711 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.00164/0.01023, allocations: 0.7038 MB / 292.9 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.01033, allocations: 52.75 kB / 293 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.01034, allocations: 4 kB / 293 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.01038, allocations: 28.8 kB / 293 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01059, allocations: 184.5 kB / 293.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.01103, allocations: 227.8 kB / 293.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.426e-05/0.01106, allocations: 63.34 kB / 293.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.281e-05/0.01111, allocations: 16.64 kB / 293.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.01117, allocations: 71.36 kB / 293.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01118, allocations: 0 / 293.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of Templates: time 0.003787/0.01496, allocations: 2.512 MB / 296.1 MB, free: 14.15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0087934779003263]