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.00081/0.00081, 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.0009073/0.0009073, allocations: 171.8 kB / 24.91 MB, free: 9.148 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 1.137/1.137, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2814/0.2814, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.655e-06/2.655e-06, allocations: 0 / 323.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.115e-05, allocations: 3.406 kB / 323.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003315/0.003346, allocations: 1.808 MB / 325.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.005078, allocations: 1.021 MB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-05/0.005168, allocations: 0 / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.005492, allocations: 39.7 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.005822, allocations: 87.48 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.006043, allocations: 91.53 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.006228, allocations: 119.6 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.006307, allocations: 8.609 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.006409, allocations: 59.88 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.006494, allocations: 35.83 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.00651, allocations: 8 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.00671, allocations: 111.8 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.006755, allocations: 15.94 kB / 326.8 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.006793, allocations: 23.91 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.007058, allocations: 175.3 kB / 327 MB, free: 5.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.007061, allocations: 0 / 327 MB, free: 5.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.007061, allocations: 0 / 327 MB, free: 5.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.007065, allocations: 4 kB / 327 MB, free: 5.973 MB / 298.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.000395/0.00746, allocations: 325.3 kB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.007494, allocations: 12.03 kB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.007531, allocations: 8.922 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.007711, allocations: 148 kB / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.007727, allocations: 4.375 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.007744, allocations: 384 / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.007889, allocations: 113.1 kB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.0079, allocations: 3.938 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.007908, allocations: 4 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.007912, allocations: 4 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.007941, allocations: 6.828 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.008163, allocations: 165.9 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.008276, allocations: 96.17 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.008304, allocations: 20.78 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.008314, allocations: 0 / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.008416, allocations: 74.27 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.008417, allocations: 0 / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003429/0.00876, allocations: 137.4 kB / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.0088, allocations: 81.11 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.008946, allocations: 156.3 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.008964, allocations: 29.7 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.008998, allocations: 92.06 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.009033, allocations: 35.73 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.00908, allocations: 29.7 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.009175, allocations: 326.8 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.009202, allocations: 14.81 kB / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.009255, allocations: 60.25 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.009324, allocations: 52.47 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.009325, allocations: 0 / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001214/0.009446, allocations: 89.06 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.009463, allocations: 8 kB / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.009467, allocations: 0 / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.00948, allocations: 0 / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.009569, allocations: 23.92 kB / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.009574, allocations: 4 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.009614, allocations: 4 kB / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.009624, allocations: 8.031 kB / 329 MB, free: 3.672 MB / 298.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 7.713e-05/0.009701, allocations: 116.7 kB / 329.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.009722, allocations: 11.92 kB / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.009856, allocations: 83.91 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.009859, allocations: 4 kB / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009861, allocations: 0 / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.009865, allocations: 3.938 kB / 329.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.01018, allocations: 351.3 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01018, allocations: 0 / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.01023, allocations: 20.03 kB / 329.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01023, allocations: 3.984 kB / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.01024, allocations: 4 kB / 329.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.01024, allocations: 7.938 kB / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01024, allocations: 0 / 329.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.01038, allocations: 215 kB / 329.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.0104, allocations: 11.94 kB / 329.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01042, allocations: 8 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.01049, allocations: 0 / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.01052, allocations: 7.984 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.01053, allocations: 12 kB / 329.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.01059, allocations: 42.69 kB / 329.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01059, allocations: 0 / 329.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.01088, allocations: 55.86 kB / 330 MB, free: 2.668 MB / 298.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.001967/0.01285, allocations: 0.7232 MB / 330.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.01296, allocations: 59.95 kB / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01297, allocations: 0 / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.01301, allocations: 28.8 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.01324, allocations: 32.72 kB / 330.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.01357, allocations: 203.8 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.01361, allocations: 67.34 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.01368, allocations: 24.75 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.01378, allocations: 75.34 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01378, allocations: 0 / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of Templates: time 0.005447/0.01922, allocations: 2.936 MB / 334.1 MB, free: 14.86 MB / 314.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 -s gbode -gbm=radauIIA3 -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.180555841885507]