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.001039/0.001039, allocations: 91.5 kB / 21.2 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.001059/0.001059, allocations: 160.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 0.997/0.997, allocations: 177 MB / 204.8 MB, free: 5.582 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.3161/0.3161, allocations: 34.87 MB / 296.3 MB, free: 484 kB / 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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.418e-05, allocations: 4.984 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002299/0.002334, allocations: 1.762 MB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003597, allocations: 1.012 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.003664, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.003949, allocations: 59.69 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.004227, allocations: 99.48 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.004401, allocations: 79.59 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.004569, allocations: 111.7 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.004655, allocations: 4 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.004755, allocations: 63.77 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.004835, allocations: 23.91 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.004851, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.004945, allocations: 43.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.005004, allocations: 31.86 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.005046, allocations: 23.91 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.005247, allocations: 115.5 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.00525, allocations: 0 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005251, allocations: 0 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.005256, allocations: 0 / 382.3 MB, free: 14.54 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.0005348/0.00579, allocations: 475.6 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.005831, allocations: 16.03 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.005887, allocations: 16.84 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.006073, allocations: 169.2 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.00609, allocations: 384 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.00611, allocations: 4.375 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.006239, allocations: 66.86 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.006251, allocations: 4.188 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.006261, allocations: 4.375 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.006277, allocations: 3.938 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.006313, allocations: 11.98 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.006621, allocations: 303.8 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.006732, allocations: 55.09 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.006765, allocations: 19.69 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.006776, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.006878, allocations: 68.98 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.006879, allocations: 0 / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004072/0.007286, allocations: 173.2 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.007321, allocations: 51.41 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.007515, allocations: 277.6 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.007529, allocations: 29.7 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.007605, allocations: 166.9 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.007639, allocations: 23.8 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.007678, allocations: 27.36 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.007814, allocations: 0.504 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.007845, allocations: 15.92 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-05/0.007889, allocations: 39.3 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.007954, allocations: 43.38 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007955, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001321/0.008087, allocations: 105.5 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.0081, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.008107, allocations: 3.984 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.00812, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.008198, allocations: 16 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.008203, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.008235, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.008243, allocations: 4 kB / 384.9 MB, free: 11.66 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 8.033e-05/0.008323, allocations: 168.5 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.008346, allocations: 23.88 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.008508, allocations: 111 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008509, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.008515, allocations: 4 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008519, allocations: 384 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.008834, allocations: 405 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.008838, allocations: 8 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.008867, allocations: 8 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008868, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.008877, allocations: 7.938 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.008879, allocations: 8.031 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.008881, allocations: 3.984 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.009048, allocations: 259.4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.009063, allocations: 11.91 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.009081, allocations: 4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.009143, allocations: 4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.009175, allocations: 7.984 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.00919, allocations: 4 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.009302, allocations: 196.5 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009302, allocations: 0 / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.009551, allocations: 31.92 kB / 386.2 MB, free: 10.33 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.00103/0.01058, allocations: 438.5 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.01071, allocations: 55.53 kB / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01071, allocations: 0 / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.01076, allocations: 31.67 kB / 386.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01105, allocations: 31.97 kB / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.01146, allocations: 270.5 kB / 387 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.445e-05/0.01152, allocations: 71.33 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.01156, allocations: 25.27 kB / 387.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.0116, allocations: 20.5 kB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0116, allocations: 0 / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of Templates: time 0.004402/0.016, allocations: 2.013 MB / 389.1 MB, free: 7.488 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","",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.170669060666114]