Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.0009416/0.0009416, allocations: 81.81 kB / 21.43 MB, free: 3.066 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.0009758/0.0009758, allocations: 164.1 kB / 24.82 MB, free: 9.211 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.9239/0.9239, allocations: 177 MB / 205.1 MB, free: 5.035 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.2805/0.2805, allocations: 34.87 MB / 296.6 MB, free: 480 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.346e-05, allocations: 2.312 kB / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002057/0.002071, allocations: 1.761 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003188, allocations: 0.9968 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.003261, allocations: 8 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.003534, allocations: 55.67 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.003792, allocations: 103.5 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.003944, allocations: 83.59 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.004084, allocations: 107.6 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.004162, allocations: 7.984 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.004238, allocations: 55.83 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.0043, allocations: 27.91 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.004313, allocations: 4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.00438, allocations: 47.91 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.004425, allocations: 31.86 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.004456, allocations: 15.94 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.004612, allocations: 119.5 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004614, allocations: 0 / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004615, allocations: 0 / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.004619, allocations: 4 kB / 382.7 MB, free: 14.3 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.0004062/0.005025, allocations: 475.6 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.005057, allocations: 8.031 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.00509, allocations: 20.84 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.005226, allocations: 173.2 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.005238, allocations: 384 / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.005254, allocations: 8.312 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.077e-05/0.005344, allocations: 62.88 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005353, allocations: 4.188 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.005359, allocations: 384 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005365, allocations: 7.938 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.005385, allocations: 7.984 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.005595, allocations: 264.4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.828e-05/0.005674, allocations: 47.11 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.005696, allocations: 23.66 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.005709, allocations: 4 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/0.005782, allocations: 61.05 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.005783, allocations: 0 / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002701/0.006053, allocations: 141.4 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.006079, allocations: 55.41 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.006218, allocations: 269.6 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.00623, allocations: 25.7 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.006295, allocations: 170.8 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.006324, allocations: 27.77 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.006354, allocations: 27.38 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.006481, allocations: 0.5079 MB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.006494, allocations: 7.938 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.006521, allocations: 35.34 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.006562, allocations: 43.36 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006564, allocations: 4 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.749e-05/0.006662, allocations: 93.42 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.006672, allocations: 8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006676, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.006687, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.006743, allocations: 16.36 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.006747, allocations: 3.938 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.006773, allocations: 4 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.006781, allocations: 12 kB / 385.3 MB, free: 11.51 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 6.984e-05/0.006851, allocations: 160.6 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.006869, allocations: 23.84 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.006994, allocations: 103.1 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006995, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.006998, allocations: 3.984 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007001, allocations: 3.938 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.007238, allocations: 369.6 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007239, allocations: 0 / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.007261, allocations: 11.98 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007262, allocations: 8.031 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.007268, allocations: 4 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.007269, allocations: 0 / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.00727, allocations: 4 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.007393, allocations: 255.3 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.007406, allocations: 15.91 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.007419, allocations: 0 / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.007458, allocations: 8 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.007478, allocations: 3.984 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.007488, allocations: 4 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.007567, allocations: 196.5 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007567, allocations: 0 / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.007723, allocations: 27.88 kB / 386.5 MB, free: 10.25 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.0008042/0.008528, allocations: 437.5 kB / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.031e-05/0.008618, allocations: 51.58 kB / 387 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.008619, allocations: 0 / 387 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.00865, allocations: 31.67 kB / 387 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.00885, allocations: 38.98 kB / 387 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.009136, allocations: 262.4 kB / 387.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.009173, allocations: 71.33 kB / 387.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.009206, allocations: 21.27 kB / 387.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.009266, allocations: 90.19 kB / 387.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009267, allocations: 0 / 387.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003156/0.01242, allocations: 2.06 MB / 389.5 MB, free: 7.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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: 2.939476350788027]