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.00117/0.00117, allocations: 75.7 kB / 21.69 MB, free: 2.844 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.001597/0.001597, allocations: 166.6 kB / 24.99 MB, free: 9.328 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 0.991/0.991, allocations: 177 MB / 205.2 MB, free: 5.137 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.2689/0.2689, allocations: 34.87 MB / 296.6 MB, free: 0.5234 MB / 266.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.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.608e-05, allocations: 2.312 kB / 378.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.0033/0.003326, allocations: 1.628 MB / 380.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004418, allocations: 0.5602 MB / 381 MB, free: 244 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/0.00449, allocations: 3.938 kB / 381 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.004741, allocations: 27.78 kB / 381 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.005093, allocations: 83.56 kB / 381.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.00544, allocations: 111.7 kB / 381.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.005636, allocations: 75.78 kB / 381.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.005737, allocations: 11.86 kB / 381.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.005811, allocations: 35.81 kB / 381.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.005892, allocations: 27.91 kB / 381.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.005909, allocations: 4 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.006083, allocations: 91.83 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.006135, allocations: 23.84 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.006169, allocations: 19.92 kB / 381.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.006442, allocations: 135.6 kB / 381.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.006449, allocations: 0 / 381.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.006451, allocations: 0 / 381.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.006456, allocations: 0 / 381.6 MB, free: 15.6 MB / 362.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.0005125/0.006969, allocations: 439.8 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.00701, allocations: 8.031 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.007071, allocations: 8.891 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.007286, allocations: 136.5 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.007297, allocations: 384 / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.007322, allocations: 8.359 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.0075, allocations: 104 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.00751, allocations: 192 / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.007522, allocations: 4.375 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.00753, allocations: 384 / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.007572, allocations: 19.86 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.007988, allocations: 287.8 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.00807, allocations: 39.06 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.008104, allocations: 19.7 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.008124, allocations: 4 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.008151, allocations: 41.39 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.008152, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004687/0.008621, allocations: 125.4 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.008672, allocations: 77.11 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.008843, allocations: 200.2 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.008856, allocations: 25.7 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.008917, allocations: 142.9 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.008943, allocations: 27.75 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.008989, allocations: 31.36 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.009125, allocations: 0.4884 MB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.009156, allocations: 12 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/0.009211, allocations: 57.06 kB / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.00928, allocations: 35.62 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.009281, allocations: 0 / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001309/0.009412, allocations: 73.56 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.009426, allocations: 4 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00943, allocations: 0 / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.009443, allocations: 3.938 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.009545, allocations: 23.98 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.009551, allocations: 0 / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.009587, allocations: 4.031 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-06/0.009596, allocations: 4 kB / 384 MB, free: 12.94 MB / 362.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 8.13e-05/0.009677, allocations: 160.5 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.009715, allocations: 19.88 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.009873, allocations: 74.45 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009875, allocations: 0 / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.009878, allocations: 0 / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.009881, allocations: 0 / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.01026, allocations: 349.7 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01026, allocations: 4 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.01032, allocations: 12 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01033, allocations: 0 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.01034, allocations: 7.984 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01034, allocations: 0 / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01034, allocations: 0 / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01051, allocations: 227.8 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.01053, allocations: 4.234 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.01055, allocations: 4 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.01061, allocations: 3.984 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.01065, allocations: 8 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.01066, allocations: 7.984 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.176e-05/0.01075, allocations: 158.1 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01075, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.01106, allocations: 43.86 kB / 385.1 MB, free: 11.8 MB / 362.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.001342/0.01241, allocations: 480.2 kB / 385.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01255, allocations: 47.58 kB / 385.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.01256, allocations: 4 kB / 385.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.01259, allocations: 23.67 kB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.01287, allocations: 23.92 kB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.0133, allocations: 190.2 kB / 385.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.01335, allocations: 63.34 kB / 385.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.576e-05/0.01343, allocations: 24.7 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.01348, allocations: 20.5 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01348, allocations: 0 / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Templates: time 0.004816/0.01829, allocations: 2.034 MB / 388 MB, free: 9 MB / 362.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 -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.186076421989128]