Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.0012/0.0012, 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.001197/0.001197, allocations: 158.5 kB / 25.61 MB, free: 8.582 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.9893/0.9893, allocations: 177 MB / 205.9 MB, free: 4.461 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.1779/0.1779, allocations: 34.89 MB / 297.4 MB, free: 13.34 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.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.238e-05, allocations: 3.156 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002212/0.002235, allocations: 1.756 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.003599, allocations: 0.993 MB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.003685, allocations: 0 / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.00401, allocations: 35.77 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.004293, allocations: 103.4 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.004479, allocations: 75.62 kB / 383.1 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.004623, allocations: 107.7 kB / 383.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.004718, allocations: 4 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.004799, allocations: 59.77 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.004876, allocations: 27.91 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.00489, allocations: 8 kB / 383.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.004968, allocations: 43.92 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.005018, allocations: 15.92 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.005051, allocations: 23.91 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.005204, allocations: 103.5 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.005206, allocations: 0 / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005207, allocations: 0 / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.005212, allocations: 4 kB / 383.4 MB, free: 19.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004466/0.005658, allocations: 424 kB / 383.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.005697, allocations: 12.03 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.005743, allocations: 12.84 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.005888, allocations: 152.4 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.005906, allocations: 4.359 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.005925, allocations: 8.375 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.767e-05/0.006023, allocations: 54.94 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.006034, allocations: 4.125 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.006043, allocations: 8.359 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.006049, allocations: 3.938 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.006075, allocations: 11.98 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.006304, allocations: 260.4 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.947e-05/0.006394, allocations: 55.11 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.006413, allocations: 11.69 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.006423, allocations: 0 / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.66e-05/0.00651, allocations: 69.03 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 6.31e-07/0.006511, allocations: 0 / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003041/0.006815, allocations: 141.7 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.006837, allocations: 55.41 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.006915, allocations: 210 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.006926, allocations: 33.64 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.006967, allocations: 154.8 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.006991, allocations: 27.78 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.00702, allocations: 31.36 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.007083, allocations: 0.4962 MB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.0071, allocations: 8.062 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.007131, allocations: 35.3 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.007176, allocations: 51.41 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.007177, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.352e-05/0.00726, allocations: 85.52 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.007272, allocations: 8.031 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.007278, allocations: 4 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.007289, allocations: 0 / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.007351, allocations: 15.98 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.007354, allocations: 0 / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.007379, allocations: 4 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007386, allocations: 4 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.402e-05/0.00744, allocations: 160.5 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.007454, allocations: 23.84 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.007569, allocations: 98.38 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007571, allocations: 4 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007573, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007576, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.007802, allocations: 361.6 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.007804, allocations: 3.984 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.007828, allocations: 8 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.007832, allocations: 0 / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.00784, allocations: 4 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007841, allocations: 0 / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007843, allocations: 0 / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.007946, allocations: 255.4 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.007957, allocations: 7.953 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.007974, allocations: 11.98 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.008012, allocations: 0 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.008039, allocations: 7.984 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.00805, allocations: 4 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.008091, allocations: 159.1 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008091, allocations: 0 / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.00827, allocations: 23.94 kB / 387 MB, free: 15.48 MB / 314.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009836/0.009254, allocations: 444.7 kB / 387.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.009361, allocations: 47.64 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009362, allocations: 0 / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.009392, allocations: 31.61 kB / 387.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.009631, allocations: 40.91 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.009914, allocations: 204.3 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.905e-05/0.009943, allocations: 71.19 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.009975, allocations: 17.41 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.01003, allocations: 94.12 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01003, allocations: 0 / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003599/0.01363, allocations: 2.044 MB / 389.9 MB, free: 12.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.4481388833373785]