Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001205/0.001205, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001799/0.001799, allocations: 157.1 kB / 25.6 MB, free: 8.477 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.066/1.066, allocations: 177 MB / 205.9 MB, free: 4.445 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.1705/0.1705, allocations: 34.88 MB / 297.4 MB, free: 13.32 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.646e-05, allocations: 4.438 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002149/0.002176, allocations: 1.749 MB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.003222, allocations: 0.993 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.003293, allocations: 7.938 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.003562, allocations: 27.84 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.003815, allocations: 103.4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.003941, allocations: 83.59 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.004064, allocations: 111.6 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.004155, allocations: 7.984 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.004228, allocations: 47.91 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.004299, allocations: 31.89 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.004315, allocations: 8 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.004381, allocations: 43.92 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.004426, allocations: 19.88 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.00446, allocations: 23.91 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.004602, allocations: 103.6 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004604, allocations: 0 / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004605, allocations: 0 / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.00461, allocations: 0 / 383.5 MB, free: 19.28 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.000347/0.004957, allocations: 439.8 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.004992, allocations: 8.031 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.005031, allocations: 16.89 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.005154, allocations: 153.1 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.005171, allocations: 4.312 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.005188, allocations: 8.328 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.712e-05/0.005276, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.005285, allocations: 192 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.005292, allocations: 384 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005299, allocations: 7.938 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.005323, allocations: 7.984 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.005516, allocations: 252.4 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.005594, allocations: 59.17 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.005614, allocations: 15.67 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.005624, allocations: 0 / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.425e-05/0.005698, allocations: 69.03 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.42e-07/0.005699, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000305/0.006004, allocations: 137.8 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.006029, allocations: 55.41 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.006118, allocations: 224.6 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.006127, allocations: 25.7 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.006168, allocations: 154.8 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.006194, allocations: 23.84 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.006225, allocations: 35.3 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.006288, allocations: 0.4962 MB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.006303, allocations: 8.062 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.006329, allocations: 31.36 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.00637, allocations: 47.42 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.006371, allocations: 0 / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.595e-05/0.006457, allocations: 93.48 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.00647, allocations: 14.5 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.006475, allocations: 0 / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.006485, allocations: 0 / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.006548, allocations: 12 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.006552, allocations: 7.938 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.006581, allocations: 11.92 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.006589, allocations: 4 kB / 385.9 MB, free: 16.62 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 5.508e-05/0.006644, allocations: 156.6 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.00666, allocations: 23.84 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.00679, allocations: 103.1 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.006795, allocations: 7.984 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006796, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.0068, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.007015, allocations: 357.5 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007016, allocations: 0 / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.007039, allocations: 11.98 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.007043, allocations: 4 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.007048, allocations: 0 / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.007049, allocations: 0 / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.007051, allocations: 4.031 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.461e-05/0.007146, allocations: 267.6 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.007155, allocations: 7.953 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.00717, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.007209, allocations: 7.984 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.007237, allocations: 11.98 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.007248, allocations: 0 / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.007287, allocations: 164 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007287, allocations: 0 / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.007453, allocations: 24 kB / 387 MB, free: 15.42 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.0009313/0.008385, allocations: 433.1 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.369e-05/0.008478, allocations: 43.61 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.00848, allocations: 0 / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.008519, allocations: 35.66 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.008742, allocations: 31.91 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.00903, allocations: 220.1 kB / 387.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.893e-05/0.009058, allocations: 67.33 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.00909, allocations: 17.28 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.009146, allocations: 94.19 kB / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009147, allocations: 0 / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of Templates: time 0.003656/0.0128, allocations: 2.065 MB / 390 MB, free: 12.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.41813957830891]