Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_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.001032/0.001032, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001229/0.001229, allocations: 155 kB / 25.61 MB, free: 8.598 MB / 18.57 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.087/1.087, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.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.1778/0.1778, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.663e-05, allocations: 3.297 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002564/0.002601, allocations: 1.734 MB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.003427, allocations: 0.5562 MB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.305e-05/0.0035, allocations: 4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.00372, allocations: 19.8 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.004008, allocations: 87.55 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.004277, allocations: 131.6 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.004434, allocations: 91.64 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004538, allocations: 15.94 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.004634, allocations: 59.81 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.004706, allocations: 27.91 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.004721, allocations: 8 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.004849, allocations: 95.81 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.004907, allocations: 27.91 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.004929, allocations: 23.92 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.005121, allocations: 151.5 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.005123, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005123, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.005129, allocations: 0 / 383 MB, free: 19.71 MB / 314.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.0004095/0.005538, allocations: 467.7 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.005575, allocations: 8.031 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.005617, allocations: 12.89 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.005749, allocations: 139.7 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.00576, allocations: 4.375 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.005778, allocations: 4.375 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.005907, allocations: 120 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.005916, allocations: 192 / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.005924, allocations: 8.062 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.00593, allocations: 4 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.005956, allocations: 11.98 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.006219, allocations: 272.3 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.006313, allocations: 51.05 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.006333, allocations: 11.69 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.006355, allocations: 4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.006376, allocations: 37.33 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.006378, allocations: 3.984 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003992/0.006777, allocations: 153.5 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.006806, allocations: 84.98 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.006892, allocations: 201.8 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.006901, allocations: 29.7 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.006937, allocations: 150.8 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.006957, allocations: 23.73 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.006992, allocations: 31.36 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.007063, allocations: 0.4961 MB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.007083, allocations: 11.98 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.007126, allocations: 57.05 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.53e-05/0.007171, allocations: 43.88 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.007172, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.161e-05/0.007263, allocations: 73.59 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.007275, allocations: 5.562 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.00728, allocations: 0 / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.007291, allocations: 4 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.007381, allocations: 35.91 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007384, allocations: 384 / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.007425, allocations: 11.98 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.007432, allocations: 8 kB / 385.6 MB, free: 16.93 MB / 314.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.069e-05/0.007483, allocations: 160.5 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.007508, allocations: 15.95 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.007622, allocations: 86.38 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007625, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.007627, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.007632, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.007872, allocations: 349.8 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007873, allocations: 0 / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.007935, allocations: 31.92 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.007937, allocations: 4 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.007943, allocations: 0 / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007945, allocations: 0 / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007945, allocations: 0 / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.008047, allocations: 231.7 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.008057, allocations: 11.95 kB / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.00807, allocations: 0 / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.008126, allocations: 11.98 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.008165, allocations: 11.98 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.00817, allocations: 4 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.008213, allocations: 161.9 kB / 386.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008213, allocations: 0 / 386.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.008421, allocations: 47.86 kB / 386.7 MB, free: 15.76 MB / 314.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.00101/0.00943, allocations: 0.4883 MB / 387.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.009545, allocations: 39.61 kB / 387.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009546, allocations: 0 / 387.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.009579, allocations: 35.61 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.009791, allocations: 23.94 kB / 387.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.01008, allocations: 218.6 kB / 387.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.498e-05/0.01011, allocations: 71.28 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.026e-05/0.01016, allocations: 20.45 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.01023, allocations: 94.19 kB / 387.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01023, allocations: 0 / 387.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of Templates: time 0.004107/0.01434, allocations: 2.983 MB / 390.6 MB, free: 11.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.5373398764058948]