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.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.001256/0.001256, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001489/0.001489, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.067/1.067, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.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.2819/0.2819, allocations: 32.81 MB / 294.3 MB, free: 1.223 MB / 266.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.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.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 2.275e-06/2.275e-06, allocations: 0 / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.64e-05, allocations: 2.312 kB / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003577/0.003613, allocations: 1.778 MB / 377.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.0053, allocations: 1.02 MB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.00538, allocations: 3.938 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.005698, allocations: 35.77 kB / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006303/0.006328, allocations: 99.41 kB / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.006572, allocations: 91.59 kB / 379.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.00676, allocations: 111.6 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.006871, allocations: 11.92 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.006985, allocations: 55.89 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.979e-05/0.007075, allocations: 39.83 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.007095, allocations: 4 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.007289, allocations: 103.8 kB / 379.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.007345, allocations: 19.92 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.007393, allocations: 23.91 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.007713, allocations: 171.3 kB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.007717, allocations: 4 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.007719, allocations: 4 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.007724, allocations: 0 / 379.7 MB, free: 0.9727 MB / 346.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.0005857/0.00831, allocations: 455.8 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.008353, allocations: 8.031 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.00843, allocations: 16.84 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.008693, allocations: 156.3 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.008716, allocations: 384 / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.008748, allocations: 4.375 kB / 380.3 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.008965, allocations: 115.9 kB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.008979, allocations: 11.88 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.008992, allocations: 0 / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.009003, allocations: 4 kB / 380.4 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.009054, allocations: 4 kB / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.009441, allocations: 275.8 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.009588, allocations: 59.03 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.009632, allocations: 27.8 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.009652, allocations: 3.938 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.009779, allocations: 65.05 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.00978, allocations: 4 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000525/0.01031, allocations: 177.3 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.01035, allocations: 77.11 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.01054, allocations: 220.1 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01055, allocations: 25.7 kB / 381.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.01062, allocations: 150.8 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.01066, allocations: 35.69 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.01071, allocations: 35.38 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.01084, allocations: 0.4961 MB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.01089, allocations: 15.98 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.01096, allocations: 80.75 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.01106, allocations: 59.3 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01106, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001827/0.01125, allocations: 97.58 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01126, allocations: 8 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01127, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.01129, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01139, allocations: 23.92 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.0114, allocations: 4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.01144, allocations: 4.062 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.01145, allocations: 4 kB / 382.3 MB, free: 14.04 MB / 362.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 8.997e-05/0.01154, allocations: 168.5 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.01157, allocations: 19.91 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.01179, allocations: 114.8 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01179, allocations: 4 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.0118, allocations: 0 / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.0118, allocations: 0 / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.01222, allocations: 404.9 kB / 383 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.01223, allocations: 8.031 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.01227, allocations: 8 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01228, allocations: 4 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01229, allocations: 7.984 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01229, allocations: 0 / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.0123, allocations: 7.984 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.01252, allocations: 275.5 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.01254, allocations: 7.953 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.01256, allocations: 0 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.01263, allocations: 11.98 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.01267, allocations: 15.92 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.01269, allocations: 4 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.777e-05/0.01279, allocations: 162 kB / 383.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01279, allocations: 0 / 383.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.01312, allocations: 55.86 kB / 383.6 MB, free: 12.7 MB / 362.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.001582/0.0147, allocations: 0.5317 MB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.01488, allocations: 67.47 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01489, allocations: 0 / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.01495, allocations: 43.67 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01529, allocations: 35.92 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.01572, allocations: 218.1 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.01577, allocations: 67.34 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.368e-05/0.01584, allocations: 20.62 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.01588, allocations: 20.48 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01588, allocations: 4.062 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of Templates: time 0.005969/0.02185, allocations: 2.681 MB / 387.3 MB, free: 9.188 MB / 362.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.608225153759122]