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.001101/0.001101, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001122/0.001122, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.005/1.005, allocations: 177 MB / 204.8 MB, free: 5.617 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.2773/0.2773, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.402e-06/1.402e-06, allocations: 3.938 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.661e-05, allocations: 8.641 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.001925/0.001942, allocations: 1.63 MB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003084, allocations: 0.5641 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.00312, allocations: 0 / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.00326, allocations: 31.73 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.003446, allocations: 79.61 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.003639, allocations: 115.6 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.003744, allocations: 71.77 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.555e-05/0.003799, allocations: 19.78 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.003847, allocations: 39.91 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.003894, allocations: 19.97 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.003906, allocations: 7.938 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.004019, allocations: 91.81 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.00405, allocations: 19.92 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.004068, allocations: 12 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.004229, allocations: 147.5 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.00423, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004231, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.004234, allocations: 0 / 381.6 MB, free: 15.23 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.0002991/0.004533, allocations: 424 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.004558, allocations: 8.031 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.004592, allocations: 20.83 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.004705, allocations: 140.4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.004714, allocations: 4.375 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.004727, allocations: 4.359 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.004824, allocations: 108 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.004832, allocations: 192 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.004838, allocations: 4.375 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.004843, allocations: 384 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.004867, allocations: 15.92 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.005103, allocations: 283.7 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.005152, allocations: 43.05 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.005173, allocations: 19.69 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.005185, allocations: 0 / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.005202, allocations: 37.39 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.005203, allocations: 0 / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002659/0.005469, allocations: 117.5 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.005498, allocations: 85.05 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.005602, allocations: 201.9 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.005612, allocations: 25.7 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.005666, allocations: 138.9 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.005684, allocations: 27.73 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.005717, allocations: 31.36 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.005831, allocations: 0.4923 MB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.005849, allocations: 8 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.005887, allocations: 61.06 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.00593, allocations: 27.69 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005931, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.279e-05/0.006014, allocations: 81.5 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.006024, allocations: 10.66 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.006027, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.006035, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.006092, allocations: 12 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.006095, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.006116, allocations: 7.984 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.00612, allocations: 4.031 kB / 384 MB, free: 12.58 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 5.862e-05/0.006179, allocations: 164.5 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.006199, allocations: 11.89 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.006304, allocations: 82.69 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.006306, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.006308, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006311, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.00655, allocations: 353.3 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006551, allocations: 0 / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.006586, allocations: 19.98 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.006588, allocations: 0 / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.006595, allocations: 4 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.006597, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006598, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.006703, allocations: 219.8 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.006714, allocations: 12.22 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.006725, allocations: 3.938 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.006756, allocations: 4 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.006776, allocations: 7.984 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.006782, allocations: 7.984 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.006836, allocations: 147.2 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006836, allocations: 0 / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000176/0.007012, allocations: 47.86 kB / 385.1 MB, free: 11.43 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.0009254/0.007938, allocations: 493.6 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.487e-05/0.008022, allocations: 35.67 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008024, allocations: 0 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-05/0.008049, allocations: 31.61 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.008213, allocations: 23.92 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.008446, allocations: 182.3 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.008478, allocations: 63.34 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.692e-05/0.008525, allocations: 25.02 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.008555, allocations: 24.48 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008556, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.00349/0.01205, allocations: 2.217 MB / 388.2 MB, free: 8.461 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.141851017717272]