Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.00265/0.00265, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00216/0.00216, allocations: 160.8 kB / 24.27 MB, free: 156 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.591/1.591, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3726/0.3726, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.217e-05, allocations: 2.312 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003371/0.003403, allocations: 1.737 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.005439, allocations: 1.005 MB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.005518, allocations: 0 / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.005875, allocations: 55.84 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.006239, allocations: 103.5 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.006468, allocations: 83.66 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.00668, allocations: 111.5 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.006775, allocations: 8 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.006891, allocations: 47.84 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.00698, allocations: 35.83 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.007003, allocations: 4 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.007125, allocations: 43.92 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.0072, allocations: 27.92 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.007254, allocations: 23.86 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.00752, allocations: 123.6 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.007528, allocations: 8 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.00753, allocations: 4 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.007535, allocations: 0 / 380.7 MB, free: 15.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007055/0.008241, allocations: 487.2 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.008276, allocations: 8.031 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.008345, allocations: 20.84 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.00861, allocations: 161.3 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.008629, allocations: 8.359 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.008646, allocations: 384 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.008791, allocations: 54.23 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.008803, allocations: 192 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.008812, allocations: 4.375 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.008821, allocations: 7.938 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.008893, allocations: 15.98 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.009368, allocations: 319.7 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.009551, allocations: 59.17 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.009612, allocations: 23.67 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.00963, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.009802, allocations: 80.92 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.009803, allocations: 0 / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005976/0.0104, allocations: 193.2 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.01045, allocations: 55.39 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.01075, allocations: 293.6 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.01077, allocations: 29.7 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01091, allocations: 170.9 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.01095, allocations: 27.78 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.01101, allocations: 31.38 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002822/0.01129, allocations: 0.504 MB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.01135, allocations: 23.92 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.01142, allocations: 43.36 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.01155, allocations: 71.3 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01155, allocations: 0 / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000344/0.0119, allocations: 109.9 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01191, allocations: 4 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01192, allocations: 3.938 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01193, allocations: 4 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.01203, allocations: 19.98 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01203, allocations: 160 / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.01208, allocations: 4 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.01209, allocations: 0 / 383.5 MB, free: 12.36 MB / 362.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 0.0001406/0.01223, allocations: 172.6 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.01226, allocations: 19.84 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.01253, allocations: 123 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.01254, allocations: 4 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01254, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.01255, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.01312, allocations: 436.9 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01313, allocations: 0 / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.01317, allocations: 12 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01317, allocations: 4.031 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01318, allocations: 7.938 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01318, allocations: 0 / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01319, allocations: 0 / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.01351, allocations: 279.4 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.01353, allocations: 11.91 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01356, allocations: 4 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.01362, allocations: 0 / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.01367, allocations: 11.98 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.01369, allocations: 4 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.01388, allocations: 204.5 kB / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01388, allocations: 4 kB / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.01415, allocations: 31.92 kB / 384.8 MB, free: 10.98 MB / 362.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.003381/0.01753, allocations: 483.2 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.01778, allocations: 83.53 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01778, allocations: 0 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.01787, allocations: 47.59 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.01826, allocations: 23.98 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.01884, allocations: 270.5 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.01897, allocations: 108.9 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.225e-05/0.01902, allocations: 25.39 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.01906, allocations: 16.5 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01906, allocations: 0 / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.005816/0.02488, allocations: 1.878 MB / 387.7 MB, free: 8.191 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0423810329521075]