Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.001296/0.001296, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001595/0.001595, allocations: 165.3 kB / 25.61 MB, free: 8.898 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 1.019/1.019, allocations: 177 MB / 205.9 MB, free: 4.453 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.165/0.165, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.812e-05, allocations: 3.297 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002128/0.002146, allocations: 1.75 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.003791, allocations: 1.729 MB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.698e-05/0.003888, allocations: 0 / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.004216, allocations: 35.7 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.004527, allocations: 103.5 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.004693, allocations: 83.48 kB / 383.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.004845, allocations: 107.7 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.004952, allocations: 8 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.319e-05/0.005045, allocations: 67.75 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.005153, allocations: 35.89 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.005171, allocations: 4 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.005308, allocations: 95.88 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.005362, allocations: 23.92 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.005398, allocations: 19.92 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.00561, allocations: 159.4 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005612, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005612, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005617, allocations: 0 / 384.3 MB, free: 18.43 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.0004215/0.006038, allocations: 463.7 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.006078, allocations: 12.03 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.006118, allocations: 8.891 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.006279, allocations: 160.9 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.006298, allocations: 384 / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.006318, allocations: 4.375 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.006442, allocations: 104 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006452, allocations: 3.938 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.006462, allocations: 0 / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.006468, allocations: 0 / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.937e-05/0.006497, allocations: 15.98 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.006734, allocations: 260.3 kB / 385.3 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.006823, allocations: 55.14 kB / 385.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.006846, allocations: 19.67 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.00686, allocations: 0 / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.17e-05/0.006952, allocations: 72.92 kB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.006953, allocations: 0 / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003522/0.007305, allocations: 145.4 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.007338, allocations: 81.11 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.007437, allocations: 208.5 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007447, allocations: 33.7 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.007486, allocations: 142.9 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.00751, allocations: 23.83 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.007541, allocations: 27.38 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.007614, allocations: 0.4923 MB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.00763, allocations: 11.98 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.007665, allocations: 68.75 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.007707, allocations: 47.3 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.007709, allocations: 4.406 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.677e-05/0.007795, allocations: 81.58 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.007808, allocations: 15.86 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007813, allocations: 0 / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.007827, allocations: 8 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.007887, allocations: 12 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.00789, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.007922, allocations: 11.89 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.007929, allocations: 3.984 kB / 386.9 MB, free: 15.63 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 6.551e-05/0.007994, allocations: 164.6 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.008011, allocations: 15.89 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.008143, allocations: 102.4 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008146, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.008149, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.008153, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.008379, allocations: 361.6 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.008382, allocations: 4 kB / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.008405, allocations: 8 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.008409, allocations: 3.938 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.008416, allocations: 8.031 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.008417, allocations: 0 / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.008418, allocations: 0 / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.00853, allocations: 255.6 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.008542, allocations: 15.92 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.008559, allocations: 8 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.008598, allocations: 0 / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.008629, allocations: 7.984 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.008642, allocations: 8 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.883e-05/0.00869, allocations: 147.8 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008691, allocations: 0 / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.008897, allocations: 51.86 kB / 388 MB, free: 14.41 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.001146/0.01004, allocations: 0.5272 MB / 388.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.01016, allocations: 51.59 kB / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.01016, allocations: 0 / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.01019, allocations: 31.61 kB / 388.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.01041, allocations: 45.64 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.01069, allocations: 199.8 kB / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.895e-05/0.01072, allocations: 67.34 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.01075, allocations: 20.97 kB / 388.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.01082, allocations: 98.17 kB / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01083, allocations: 0 / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Templates: time 0.004222/0.01505, allocations: 2.818 MB / 391.8 MB, free: 10.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.413678308017552]