Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001074/0.001074, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.00117/0.00117, allocations: 156.5 kB / 24.56 MB, free: 12 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 1.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.562 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.2728/0.2728, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.984 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.708e-05, allocations: 4.703 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002031/0.002048, allocations: 1.685 MB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007699/0.002818, allocations: 0.5447 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.002869, allocations: 4 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.003089, allocations: 91.67 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.003342, allocations: 115.5 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.003557, allocations: 95.62 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003693, allocations: 103.7 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.615e-05/0.00377, allocations: 27.91 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.00383, allocations: 51.89 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.003902, allocations: 55.86 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.003915, allocations: 8 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.12e-05/0.003986, allocations: 51.91 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.004024, allocations: 31.86 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.004049, allocations: 19.92 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.004187, allocations: 107.5 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004189, allocations: 0 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00419, allocations: 0 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004194, allocations: 0 / 381.8 MB, free: 15.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004141/0.004608, allocations: 459.8 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.004644, allocations: 8.031 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.004689, allocations: 20.84 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.004843, allocations: 160.3 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.004854, allocations: 8.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.004876, allocations: 4.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.005016, allocations: 74.88 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.005027, allocations: 4.188 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.005036, allocations: 384 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.005044, allocations: 384 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.685e-05/0.00509, allocations: 23.92 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.005455, allocations: 323.6 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.005543, allocations: 67 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.005569, allocations: 15.69 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.005591, allocations: 7.938 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.005614, allocations: 37.39 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.005616, allocations: 0 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005907/0.006207, allocations: 241.2 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.006233, allocations: 55.41 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.006386, allocations: 246.7 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.006399, allocations: 29.7 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.006461, allocations: 162.9 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.006495, allocations: 47.58 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.006533, allocations: 35.36 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.006663, allocations: 0.5 MB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.006693, allocations: 15.98 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.006721, allocations: 19.12 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.00679, allocations: 55.61 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006791, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001163/0.006907, allocations: 105.6 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.006918, allocations: 8 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006923, allocations: 4 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.006934, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.007014, allocations: 23.98 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.007019, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.007041, allocations: 8 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.007049, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.687e-05/0.007126, allocations: 164.5 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.007152, allocations: 23.86 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.007329, allocations: 127.2 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.007335, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.00734, allocations: 4 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.007345, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.007736, allocations: 444.9 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.007739, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.007795, allocations: 23.98 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.007799, allocations: 4 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.007806, allocations: 0 / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.007808, allocations: 0 / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.00781, allocations: 7.938 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.007978, allocations: 263.5 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.007993, allocations: 19.89 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.008007, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.008042, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.008082, allocations: 11.92 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.008088, allocations: 4 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.508e-05/0.008183, allocations: 189 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008183, allocations: 0 / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.008356, allocations: 27.94 kB / 385.8 MB, free: 10.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009064/0.009262, allocations: 420 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.009391, allocations: 75.28 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.009393, allocations: 0 / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.009434, allocations: 39.61 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.009638, allocations: 32.08 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.00999, allocations: 268.7 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.01004, allocations: 71.33 kB / 386.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.01008, allocations: 28.53 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.01011, allocations: 20.5 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01011, allocations: 3.938 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of Templates: time 0.00343/0.01354, allocations: 1.673 MB / 388.4 MB, free: 8.207 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.2556433989666402]