Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.002591, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002597, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.034/1.034, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09552/1.129, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2612/0.2612, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02225/0.2834, allocations: 13.23 MB / 292.6 MB, free: 6.484 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.557e-05, allocations: 4.562 kB / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00343/0.003456, allocations: 1.683 MB / 295.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.004495, allocations: 0.5757 MB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.004569, allocations: 0 / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.004756, allocations: 31.72 kB / 296.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.005021, allocations: 71.56 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.005397, allocations: 112.5 kB / 296.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.005578, allocations: 79.7 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.005672, allocations: 8 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.005799, allocations: 59.83 kB / 296.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.005895, allocations: 27.91 kB / 296.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.005914, allocations: 4 kB / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.006131, allocations: 91.88 kB / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.006174, allocations: 11.94 kB / 296.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.006204, allocations: 11.94 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.00646, allocations: 139.5 kB / 296.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.006477, allocations: 0 / 296.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006479, allocations: 4 kB / 296.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.006495, allocations: 0 / 296.8 MB, free: 2.277 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.0005179/0.007013, allocations: 313.2 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.007055, allocations: 8.922 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.007096, allocations: 8.922 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.007281, allocations: 140.1 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.007293, allocations: 4.375 kB / 297.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.007313, allocations: 384 / 297.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.007454, allocations: 98.36 kB / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.007465, allocations: 192 / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.007473, allocations: 4.375 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.007479, allocations: 384 / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.00751, allocations: 11.94 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.007835, allocations: 179 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.543e-05/0.007911, allocations: 37.38 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.007934, allocations: 12.92 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.007958, allocations: 96 / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.007988, allocations: 42.53 kB / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.007989, allocations: 0 / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000378/0.008367, allocations: 101.4 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.008403, allocations: 55.34 kB / 297.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.008535, allocations: 152.3 kB / 297.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.00855, allocations: 29.7 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.00859, allocations: 84.91 kB / 298 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.008617, allocations: 35.7 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.008658, allocations: 21.72 kB / 298.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.008755, allocations: 318.8 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.008779, allocations: 10.83 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.008824, allocations: 55.45 kB / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.912e-05/0.008873, allocations: 26.5 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008875, allocations: 4.031 kB / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.492e-05/0.00897, allocations: 56.45 kB / 298.6 MB, free: 320 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.008984, allocations: 8 kB / 298.6 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.008991, allocations: 3.938 kB / 298.6 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.009001, allocations: 0 / 298.6 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.0091, allocations: 19.98 kB / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.009104, allocations: 0 / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.009138, allocations: 7.984 kB / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.009146, allocations: 4 kB / 298.6 MB, free: 276 kB / 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.411e-05/0.00922, allocations: 116.7 kB / 298.7 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.009252, allocations: 8 kB / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.009381, allocations: 70.33 kB / 298.8 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.009383, allocations: 0 / 298.8 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.009386, allocations: 3.984 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.00939, allocations: 0 / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.009725, allocations: 278.6 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009727, allocations: 0 / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.009791, allocations: 19.94 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.009806, allocations: 11.94 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.009808, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.009814, allocations: 4 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009816, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.009817, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.009931, allocations: 155.8 kB / 299.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.009948, allocations: 8 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.01001, allocations: 4 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.01004, allocations: 7.984 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.01004, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.01009, allocations: 29.86 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01009, allocations: 0 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.01037, allocations: 55.8 kB / 299.4 MB, free: 15.45 MB / 298.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.002263/0.01264, allocations: 0.6703 MB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01275, allocations: 32.83 kB / 300.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.01276, allocations: 4 kB / 300.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/0.0128, allocations: 24.94 kB / 300.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01306, allocations: 26.16 kB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.01363, allocations: 195 kB / 300.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.01368, allocations: 59.34 kB / 300.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.638e-05/0.01375, allocations: 12.72 kB / 300.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.01384, allocations: 71.36 kB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01384, allocations: 0 / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of Templates: time 0.005353/0.01919, allocations: 2.247 MB / 302.7 MB, free: 12.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.049068972468376]