Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001361/0.001361, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001787/0.001787, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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.625/1.625, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 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.2654/0.2654, allocations: 46.95 MB / 360.8 MB, free: 4.023 MB / 286.1 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 80.16 kB / 0.4967 GB, free: 6.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3822, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003953/0.3862, allocations: 1.716 MB / 0.5629 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.3893, allocations: 1.664 MB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.3894, allocations: 0 / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.3897, allocations: 39.77 kB / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.3901, allocations: 107.5 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3903, allocations: 79.67 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.3905, allocations: 103.7 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3906, allocations: 7.984 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.3907, allocations: 47.8 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3908, allocations: 43.7 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.3909, allocations: 8 kB / 0.565 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.3911, allocations: 103.9 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.3911, allocations: 15.92 kB / 0.5651 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.3912, allocations: 31.95 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.3915, allocations: 181.6 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3915, allocations: 0 / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3916, allocations: 0 / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3916, allocations: 0 / 0.5653 GB, free: 15.81 MB / 414.1 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.0006805/0.3922, allocations: 349.5 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3923, allocations: 8.031 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.3923, allocations: 12.84 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3927, allocations: 146.9 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3927, allocations: 4.359 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3927, allocations: 12.06 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3929, allocations: 97.09 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3929, allocations: 0 / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.393, allocations: 4 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.393, allocations: 4 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.3931, allocations: 15.98 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.3935, allocations: 236.5 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3936, allocations: 58.61 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.3937, allocations: 20.84 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3937, allocations: 7.938 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3939, allocations: 71.33 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3939, allocations: 0 / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000604/0.3945, allocations: 185.3 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.3946, allocations: 77.11 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3948, allocations: 166.5 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3948, allocations: 25.7 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.3949, allocations: 100.1 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3949, allocations: 31.73 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.395, allocations: 25.66 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3951, allocations: 330.8 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.3952, allocations: 23.98 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.3953, allocations: 68.27 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3954, allocations: 61.7 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3954, allocations: 0 / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.3956, allocations: 101.6 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3956, allocations: 11.98 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3956, allocations: 0 / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3957, allocations: 4.062 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.3958, allocations: 12 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3958, allocations: 7.938 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.3958, allocations: 3.984 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3959, allocations: 4 kB / 0.5675 GB, free: 13.36 MB / 414.1 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.0001223/0.396, allocations: 125.8 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.396, allocations: 7.953 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.3963, allocations: 118.3 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.3963, allocations: 0 / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3963, allocations: 0 / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3963, allocations: 4 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.3968, allocations: 350.9 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3968, allocations: 288 / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.3968, allocations: 15.98 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3968, allocations: 0 / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3968, allocations: 3.938 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3968, allocations: 4 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3968, allocations: 3.938 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.3971, allocations: 216.3 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.3971, allocations: 23.86 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3972, allocations: 8 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.3972, allocations: 384 / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.3973, allocations: 11.92 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3973, allocations: 8 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3974, allocations: 139.9 kB / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3974, allocations: 0 / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.3978, allocations: 47.86 kB / 0.5685 GB, free: 12.21 MB / 414.1 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.002191/0.4, allocations: 0.5643 MB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.4002, allocations: 59.91 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4002, allocations: 0 / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.4003, allocations: 27.98 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.4006, allocations: 27.48 kB / 0.5692 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.4011, allocations: 214.7 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.4012, allocations: 89.31 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.538e-05/0.4013, allocations: 17.27 kB / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.4013, allocations: 27.42 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4013, allocations: 0 / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.006325/0.4077, allocations: 2.544 MB / 0.572 GB, free: 8.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.451007459312677]