Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001092/0.001092, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001538/0.001538, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9981/0.9981, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1584/0.1584, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 325.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.644e-05, allocations: 4.844 kB / 325.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002831/0.002858, allocations: 1.809 MB / 327.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004205, allocations: 1.025 MB / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.00428, allocations: 3.938 kB / 328.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.004565, allocations: 27.78 kB / 328.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.004847, allocations: 99.41 kB / 328.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.005031, allocations: 83.66 kB / 328.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.005189, allocations: 115.6 kB / 328.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.964e-05/0.005269, allocations: 11.98 kB / 328.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.005363, allocations: 55.83 kB / 328.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.005443, allocations: 39.89 kB / 328.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.005458, allocations: 7.938 kB / 328.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.005631, allocations: 107.8 kB / 328.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.00568, allocations: 27.84 kB / 328.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.005717, allocations: 23.92 kB / 328.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.005942, allocations: 167.5 kB / 329 MB, free: 13.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.005945, allocations: 4 kB / 329 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005946, allocations: 0 / 329 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.00595, allocations: 4 kB / 329 MB, free: 13.02 MB / 314.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.0003772/0.006327, allocations: 332 kB / 329.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.00636, allocations: 8.031 kB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.006393, allocations: 8.922 kB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.006559, allocations: 140.5 kB / 329.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.006575, allocations: 8.375 kB / 329.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.006592, allocations: 4.375 kB / 329.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.006735, allocations: 113.1 kB / 329.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.006748, allocations: 7.922 kB / 329.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.006755, allocations: 0 / 329.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.006761, allocations: 4 kB / 329.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.006786, allocations: 10.83 kB / 329.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.007001, allocations: 165.8 kB / 329.8 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.007104, allocations: 92.05 kB / 329.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.007125, allocations: 21.03 kB / 329.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.007139, allocations: 4 kB / 329.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.579e-05/0.007235, allocations: 70.08 kB / 329.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.007236, allocations: 0 / 329.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000309/0.007545, allocations: 125.5 kB / 330.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.007582, allocations: 89.03 kB / 330.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.0077, allocations: 156.3 kB / 330.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.007719, allocations: 33.7 kB / 330.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.007754, allocations: 92.11 kB / 330.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.007788, allocations: 35.72 kB / 330.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.007823, allocations: 25.7 kB / 330.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.007896, allocations: 322.8 kB / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.007926, allocations: 14.81 kB / 330.8 MB, free: 11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/0.007966, allocations: 56.27 kB / 330.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.008021, allocations: 55.31 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.008023, allocations: 0 / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.448e-05/0.008117, allocations: 80.42 kB / 331 MB, free: 10.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.008131, allocations: 8 kB / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008135, allocations: 0 / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.008149, allocations: 3.938 kB / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.008227, allocations: 23.94 kB / 331 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.00823, allocations: 3.984 kB / 331 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.00826, allocations: 0 / 331 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.008267, allocations: 8 kB / 331.1 MB, free: 10.73 MB / 314.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 6.818e-05/0.008336, allocations: 120.7 kB / 331.2 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.008352, allocations: 15.92 kB / 331.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.008471, allocations: 82.84 kB / 331.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008473, allocations: 0 / 331.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008475, allocations: 0 / 331.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008478, allocations: 0 / 331.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.008733, allocations: 359.2 kB / 331.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.008735, allocations: 0 / 331.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.008771, allocations: 19.94 kB / 331.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.008773, allocations: 4.031 kB / 331.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.008782, allocations: 7.984 kB / 331.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008784, allocations: 0 / 331.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008785, allocations: 0 / 331.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.008899, allocations: 223.2 kB / 331.9 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.008915, allocations: 15.92 kB / 331.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.008935, allocations: 8 kB / 331.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.008978, allocations: 0 / 331.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.009005, allocations: 11.92 kB / 331.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.009018, allocations: 4 kB / 331.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.009062, allocations: 54.89 kB / 332 MB, free: 9.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009062, allocations: 0 / 332 MB, free: 9.758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.009257, allocations: 51.86 kB / 332 MB, free: 9.707 MB / 314.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.001494/0.01075, allocations: 0.7151 MB / 332.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.01087, allocations: 44.78 kB / 332.8 MB, free: 9.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.01088, allocations: 4 kB / 332.8 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.01091, allocations: 36.77 kB / 332.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.01111, allocations: 30.03 kB / 332.8 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.01144, allocations: 211.1 kB / 333 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.01148, allocations: 63.34 kB / 333.1 MB, free: 8.875 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.946e-05/0.01153, allocations: 20.77 kB / 333.1 MB, free: 8.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.01161, allocations: 75.34 kB / 333.2 MB, free: 8.781 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01161, allocations: 3.938 kB / 333.2 MB, free: 8.777 MB / 314.7 MB Notification: Performance of Templates: time 0.0051/0.01671, allocations: 2.94 MB / 336.1 MB, free: 5.879 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0634464286267757]