Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.001026/0.001026, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002242, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001206/0.001206, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.00268, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9888/0.9888, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08782/1.077, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.2741/0.2741, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02707/0.3012, allocations: 13.1 MB / 291.3 MB, free: 7.387 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.277e-05/6.452e-05, allocations: 4.844 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002362/0.002427, allocations: 1.683 MB / 294.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.00315, allocations: 0.5686 MB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.003199, allocations: 4 kB / 294.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.003345, allocations: 27.73 kB / 294.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.003514, allocations: 79.55 kB / 295 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.003725, allocations: 111.7 kB / 295.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.003866, allocations: 75.77 kB / 295.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.003958, allocations: 7.984 kB / 295.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.517e-05/0.004053, allocations: 55.84 kB / 295.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.004132, allocations: 31.89 kB / 295.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.004146, allocations: 4 kB / 295.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.0043, allocations: 103.8 kB / 295.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.004337, allocations: 12 kB / 295.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.004359, allocations: 11.94 kB / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.004553, allocations: 127.5 kB / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.857e-05/0.004571, allocations: 0 / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.004573, allocations: 0 / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.004591, allocations: 4 kB / 295.5 MB, free: 3.387 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004347/0.005025, allocations: 317.1 kB / 295.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.005062, allocations: 8.031 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.005103, allocations: 8.922 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.005292, allocations: 133.7 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.005302, allocations: 384 / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.005324, allocations: 12.38 kB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.005467, allocations: 90.31 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.005477, allocations: 192 / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.005487, allocations: 8.125 kB / 296.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005493, allocations: 4 kB / 296.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.005525, allocations: 11.92 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.005769, allocations: 171.1 kB / 296.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.145e-05/0.00582, allocations: 33.45 kB / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.005836, allocations: 8.859 kB / 296.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.005862, allocations: 8 kB / 296.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.005883, allocations: 38.5 kB / 296.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.005884, allocations: 0 / 296.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003002/0.006185, allocations: 109.5 kB / 296.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.006211, allocations: 55.41 kB / 296.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.006307, allocations: 146.7 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.006318, allocations: 25.7 kB / 296.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.006352, allocations: 92.11 kB / 296.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.006369, allocations: 23.8 kB / 296.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.006399, allocations: 25.69 kB / 296.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.006475, allocations: 326.8 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.006488, allocations: 6.828 kB / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.006516, allocations: 47.41 kB / 297.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.006553, allocations: 34.72 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.006553, allocations: 0 / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.589e-05/0.006619, allocations: 68.38 kB / 297.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.006633, allocations: 4 kB / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.006641, allocations: 288 / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.006651, allocations: 4 kB / 297.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.006739, allocations: 15.98 kB / 297.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.006742, allocations: 4.031 kB / 297.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.006763, allocations: 4 kB / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.006768, allocations: 0 / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.196e-05/0.00684, allocations: 120.7 kB / 297.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.006859, allocations: 11.92 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.984e-05/0.006959, allocations: 66.38 kB / 297.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.006962, allocations: 4 kB / 297.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006963, allocations: 0 / 297.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006967, allocations: 3.938 kB / 297.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.007186, allocations: 282.5 kB / 297.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007187, allocations: 4 kB / 297.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.007223, allocations: 19.98 kB / 297.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.007231, allocations: 3.953 kB / 297.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007233, allocations: 0 / 297.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.00724, allocations: 7.984 kB / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007241, allocations: 0 / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007242, allocations: 0 / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.556e-05/0.007327, allocations: 151.4 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.00734, allocations: 7.984 kB / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.169e-05/0.007372, allocations: 4 kB / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.007394, allocations: 4 kB / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.007397, allocations: 4 kB / 298 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.007431, allocations: 38.47 kB / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007431, allocations: 0 / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.007604, allocations: 39.88 kB / 298.1 MB, free: 0.5742 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001589/0.009193, allocations: 0.7027 MB / 298.8 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.214e-05/0.009285, allocations: 36.77 kB / 298.8 MB, free: 204 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.009289, allocations: 4 kB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.009309, allocations: 17.02 kB / 298.9 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.009477, allocations: 40.39 kB / 298.9 MB, free: 144 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.009909, allocations: 175 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.009947, allocations: 63.34 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.009989, allocations: 16.66 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.01005, allocations: 71.36 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01005, allocations: 4 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003515/0.01357, allocations: 2.231 MB / 301.5 MB, free: 13.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_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: 2.9454671628773212]