Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001251/0.001251, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001711/0.002962, allocations: 457.8 kB / 10.45 MB, free: 244 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.000813/0.000813, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.00214, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.036/1.036, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1071/1.143, allocations: 53.88 MB / 243.9 MB, free: 14.83 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.2886/0.2886, allocations: 34.89 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02547/0.3141, allocations: 13.24 MB / 292.8 MB, free: 6.367 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 294.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.602e-05, allocations: 7.953 kB / 294.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00217/0.002196, allocations: 1.704 MB / 295.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.002897, allocations: 0.5533 MB / 296.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.002952, allocations: 4 kB / 296.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.003126, allocations: 71.59 kB / 296.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.003315, allocations: 107.5 kB / 296.6 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.003531, allocations: 91.53 kB / 296.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.003671, allocations: 87.75 kB / 296.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.003751, allocations: 15.98 kB / 296.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.003843, allocations: 55.89 kB / 296.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.003929, allocations: 43.88 kB / 296.9 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.003942, allocations: 4 kB / 296.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.00402, allocations: 47.86 kB / 296.9 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.004059, allocations: 19.94 kB / 296.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.004081, allocations: 11.94 kB / 296.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.004216, allocations: 87.62 kB / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.004228, allocations: 0 / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004229, allocations: 4 kB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.004239, allocations: 3.984 kB / 297 MB, free: 2.129 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.0003603/0.004599, allocations: 317.2 kB / 297.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.004628, allocations: 8.922 kB / 297.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.004659, allocations: 16.88 kB / 297.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004791, allocations: 137.5 kB / 297.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.0048, allocations: 4.375 kB / 297.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.00482, allocations: 8.359 kB / 297.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.996e-05/0.00491, allocations: 54.95 kB / 297.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.004919, allocations: 192 / 297.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.004926, allocations: 384 / 297.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.004931, allocations: 4.375 kB / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.004954, allocations: 19.92 kB / 297.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.005161, allocations: 171 kB / 297.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.218e-05/0.005213, allocations: 30.56 kB / 297.8 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/0.005227, allocations: 8.859 kB / 297.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.005244, allocations: 4 kB / 297.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.005266, allocations: 38.64 kB / 297.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.005267, allocations: 0 / 297.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004553/0.005722, allocations: 157.4 kB / 298 MB, free: 1.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.005755, allocations: 51.41 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.005858, allocations: 169 kB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.005869, allocations: 25.7 kB / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.005901, allocations: 100.1 kB / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.005925, allocations: 23.73 kB / 298.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.005952, allocations: 25.7 kB / 298.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.006026, allocations: 326.8 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.006038, allocations: 4 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.006049, allocations: 4 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.006083, allocations: 28.84 kB / 298.7 MB, free: 272 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.006084, allocations: 0 / 298.7 MB, free: 272 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.597e-05/0.00615, allocations: 69.53 kB / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.006162, allocations: 4 kB / 298.8 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.006166, allocations: 0 / 298.8 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.006183, allocations: 0 / 298.8 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.00625, allocations: 23.98 kB / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.006253, allocations: 0 / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.006271, allocations: 7.938 kB / 298.8 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.006276, allocations: 0 / 298.8 MB, free: 160 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 6.389e-05/0.00634, allocations: 120.7 kB / 299 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.006358, allocations: 11.94 kB / 299 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.006479, allocations: 75.14 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006481, allocations: 0 / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.006482, allocations: 0 / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006484, allocations: 0 / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.006701, allocations: 255.8 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.006703, allocations: 8 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.006744, allocations: 15.98 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.006753, allocations: 7.953 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006755, allocations: 4.031 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.006761, allocations: 4 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.006763, allocations: 80 / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.006766, allocations: 7.922 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.481e-05/0.006851, allocations: 160.3 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.006861, allocations: 4 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.006893, allocations: 7.984 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.006915, allocations: 4 kB / 299.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.00692, allocations: 0 / 299.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.351e-05/0.006963, allocations: 57.27 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006963, allocations: 4 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.007098, allocations: 19.94 kB / 299.6 MB, free: 15.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001358/0.008456, allocations: 0.6188 MB / 300.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.833e-05/0.008544, allocations: 28.8 kB / 300.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.008551, allocations: 7.984 kB / 300.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.008582, allocations: 20.86 kB / 300.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.008781, allocations: 91.3 kB / 300.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.009224, allocations: 217.3 kB / 300.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.009261, allocations: 63.34 kB / 300.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.828e-05/0.009299, allocations: 21.27 kB / 300.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.009354, allocations: 63.38 kB / 300.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009355, allocations: 0 / 300.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Templates: time 0.003018/0.01237, allocations: 1.502 MB / 302.2 MB, free: 12.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.02534510102123]