Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009777/0.0009777, allocations: 80.34 kB / 22.21 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.00122/0.00122, allocations: 162.9 kB / 25.61 MB, free: 8.902 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.045/1.045, allocations: 177 MB / 205.9 MB, free: 4.418 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.1566/0.1566, 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.548e-05, allocations: 3.297 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002182/0.002207, allocations: 1.749 MB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003301, allocations: 0.993 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.003373, allocations: 11.88 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.003663, allocations: 31.83 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.003899, allocations: 107.4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.004033, allocations: 75.67 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.004172, allocations: 115.5 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.00426, allocations: 8 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.004331, allocations: 51.84 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.004398, allocations: 31.89 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.004413, allocations: 4 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.004479, allocations: 47.86 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.004522, allocations: 23.91 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.004556, allocations: 19.94 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.004699, allocations: 103.6 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004701, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004701, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.004705, allocations: 0 / 383.5 MB, free: 19.27 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.0003561/0.005061, allocations: 451.8 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.005094, allocations: 8.031 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.005131, allocations: 16.84 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.005262, allocations: 161.3 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.00528, allocations: 4.375 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.005297, allocations: 4.375 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.005395, allocations: 58.94 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.005407, allocations: 192 / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.005415, allocations: 4.375 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.005423, allocations: 7.938 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/0.005449, allocations: 7.984 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.005674, allocations: 260.4 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.337e-05/0.005757, allocations: 51.11 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.005779, allocations: 11.69 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.00579, allocations: 8 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.404e-05/0.005874, allocations: 69.03 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.005876, allocations: 0 / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003169/0.006193, allocations: 141.4 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.00622, allocations: 51.41 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.006312, allocations: 245.6 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.006323, allocations: 33.7 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.006368, allocations: 150.8 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.006392, allocations: 19.86 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.006421, allocations: 35.34 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.00649, allocations: 0.5001 MB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.006505, allocations: 8 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.006529, allocations: 27.36 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.006574, allocations: 51.41 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.006576, allocations: 0 / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.877e-05/0.006664, allocations: 89.47 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.006679, allocations: 9.562 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.006685, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.006696, allocations: 384 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.006763, allocations: 23.95 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.006768, allocations: 4 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.0068, allocations: 8 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006805, allocations: 4 kB / 385.9 MB, free: 16.57 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.265e-05/0.006858, allocations: 156.6 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.006872, allocations: 15.89 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.00699, allocations: 103.1 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006992, allocations: 0 / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006994, allocations: 0 / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006998, allocations: 3.984 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.007211, allocations: 377.5 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007212, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.007237, allocations: 8 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.00724, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.007245, allocations: 7.938 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.007247, allocations: 3.984 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007248, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.588e-05/0.007344, allocations: 259.4 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.007354, allocations: 11.94 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.007371, allocations: 0 / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.007425, allocations: 8.031 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.007457, allocations: 15.92 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.007467, allocations: 0 / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.007515, allocations: 176.2 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007515, allocations: 0 / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.007689, allocations: 20 kB / 387.1 MB, free: 15.35 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.0009473/0.008636, allocations: 431.8 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.952e-05/0.008736, allocations: 51.59 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008737, allocations: 4.062 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.008768, allocations: 31.59 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.00899, allocations: 31.92 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.00928, allocations: 223.8 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.717e-05/0.009308, allocations: 71.2 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.009343, allocations: 12.97 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.009398, allocations: 94.25 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.009399, allocations: 0 / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of Templates: time 0.00338/0.01278, allocations: 2.066 MB / 390.1 MB, free: 12.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.435233873780817]