Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_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.0007589/0.0007589, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009949/0.001754, 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.0007007/0.0007007, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008878/0.001588, 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.9658/0.9658, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08749/1.053, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2413/0.2413, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02294/0.2642, allocations: 13.09 MB / 291.3 MB, free: 7.375 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.272e-05, allocations: 4.562 kB / 292.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001911/0.001924, allocations: 1.776 MB / 294.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.002595, allocations: 0.5723 MB / 295 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.002649, allocations: 4 kB / 295 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.002752, allocations: 31.78 kB / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.002938, allocations: 79.48 kB / 295.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.00317, allocations: 127.6 kB / 295.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.003294, allocations: 99.69 kB / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.003364, allocations: 15.98 kB / 295.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.003482, allocations: 75.8 kB / 295.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.003543, allocations: 27.91 kB / 295.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.003559, allocations: 8 kB / 295.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.003722, allocations: 107.8 kB / 295.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.003762, allocations: 11.94 kB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.003782, allocations: 15.94 kB / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.003982, allocations: 155.4 kB / 295.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.003995, allocations: 0 / 295.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003996, allocations: 0 / 295.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.00401, allocations: 0 / 295.7 MB, free: 3.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004173/0.004427, allocations: 353 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.004454, allocations: 8.031 kB / 296.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.004483, allocations: 8.938 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.00461, allocations: 130.2 kB / 296.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.004618, allocations: 4.375 kB / 296.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.004636, allocations: 8.312 kB / 296.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.00476, allocations: 110.1 kB / 296.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.004771, allocations: 7.953 kB / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.004776, allocations: 0 / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.00478, allocations: 0 / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.00482, allocations: 11.98 kB / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.005038, allocations: 176.2 kB / 296.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.00511, allocations: 30.64 kB / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.005129, allocations: 12.84 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.005152, allocations: 8.062 kB / 296.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.005169, allocations: 34.56 kB / 296.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.00517, allocations: 0 / 296.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003388/0.005509, allocations: 145.7 kB / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.005534, allocations: 51.41 kB / 296.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/0.005617, allocations: 154.7 kB / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005628, allocations: 25.7 kB / 297 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.00566, allocations: 96.08 kB / 297.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.00568, allocations: 27.73 kB / 297.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.005712, allocations: 25.7 kB / 297.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.005787, allocations: 326.8 kB / 297.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.005805, allocations: 8 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.005839, allocations: 51.39 kB / 297.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.005881, allocations: 40.8 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.005882, allocations: 0 / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.522e-05/0.005947, allocations: 61.89 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.005959, allocations: 8 kB / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-06/0.005962, allocations: 0 / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.005969, allocations: 0 / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.006054, allocations: 31.98 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.006056, allocations: 0 / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.006093, allocations: 15.92 kB / 297.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.006098, allocations: 0 / 297.7 MB, free: 1.055 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 (10): * Single equations (assignments): 10 * 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.383e-05/0.006152, allocations: 128.6 kB / 297.8 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.006168, allocations: 4 kB / 297.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.335e-05/0.006262, allocations: 90.33 kB / 297.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.006263, allocations: 0 / 297.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006264, allocations: 0 / 297.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006267, allocations: 3.984 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.006471, allocations: 246.6 kB / 298.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.006472, allocations: 0 / 298.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.00653, allocations: 35.91 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.006538, allocations: 11.94 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.00654, allocations: 4 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.006546, allocations: 4 kB / 298.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.006548, allocations: 3.938 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006549, allocations: 0 / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.461e-05/0.006634, allocations: 155.5 kB / 298.3 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.006645, allocations: 0 / 298.3 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.544e-05/0.006701, allocations: 15.98 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.006736, allocations: 19.91 kB / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.006739, allocations: 0 / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.00677, allocations: 41.33 kB / 298.4 MB, free: 256 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00677, allocations: 0 / 298.4 MB, free: 256 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.006934, allocations: 51.86 kB / 298.5 MB, free: 204 kB / 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 (9): * Single equations (assignments): 9 * 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.001358/0.008292, allocations: 0.7043 MB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.693e-05/0.008389, allocations: 40.73 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.008396, allocations: 0 / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.008427, allocations: 28.78 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.008596, allocations: 35.98 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.008992, allocations: 212.4 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.483e-05/0.009026, allocations: 67.2 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.009077, allocations: 20.47 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.009154, allocations: 71.36 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.009155, allocations: 0 / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.003782/0.01294, allocations: 2.799 MB / 302.4 MB, free: 12.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_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.932968587614596]