Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.0009912/0.0009912, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009721/0.0009721, allocations: 160.5 kB / 24.55 MB, free: 16 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.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.559 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.269/0.269, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.155e-05, allocations: 6.25 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002197/0.002218, allocations: 1.764 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003375, allocations: 1.012 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.003443, allocations: 4 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.003735, allocations: 51.69 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.003999, allocations: 107.5 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.004157, allocations: 83.61 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.004301, allocations: 103.6 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.241e-05/0.004384, allocations: 12 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.354e-05/0.004457, allocations: 55.81 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.004524, allocations: 23.92 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.004539, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.004616, allocations: 43.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.004668, allocations: 35.84 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.004705, allocations: 19.92 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.00487, allocations: 111.5 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004872, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004873, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004877, allocations: 0 / 382.3 MB, free: 14.55 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.0004175/0.005295, allocations: 487.6 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.005327, allocations: 8.031 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.00537, allocations: 20.84 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.005524, allocations: 161.3 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.005539, allocations: 384 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.005562, allocations: 12.31 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.00567, allocations: 66.92 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005677, allocations: 4.125 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.005686, allocations: 384 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.005693, allocations: 3.938 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.005733, allocations: 19.98 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.006067, allocations: 295.8 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.006195, allocations: 59.09 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.006233, allocations: 15.69 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.006249, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.00637, allocations: 72.98 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.006372, allocations: 0 / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005174/0.006889, allocations: 165.2 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.006925, allocations: 59.41 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.007138, allocations: 277.6 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.007153, allocations: 25.7 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.007229, allocations: 162.9 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.007263, allocations: 27.78 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.007304, allocations: 31.38 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.007448, allocations: 0.4962 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.007484, allocations: 15.92 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.007527, allocations: 35.36 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.007583, allocations: 47.38 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007584, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001064/0.00769, allocations: 101.5 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.007703, allocations: 4 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.00771, allocations: 3.984 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.007726, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.00781, allocations: 12 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007815, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.007854, allocations: 7.938 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.007861, allocations: 384 / 384.9 MB, free: 11.66 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 8.949e-05/0.007951, allocations: 168.6 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.007983, allocations: 27.84 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.008186, allocations: 107 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008189, allocations: 4 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.008194, allocations: 4 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.008199, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.00859, allocations: 412.9 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008592, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.008629, allocations: 8 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008632, allocations: 32 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.008642, allocations: 8 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.008645, allocations: 3.984 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.008646, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.008849, allocations: 263.4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.008871, allocations: 11.91 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.008896, allocations: 4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.008976, allocations: 4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.009013, allocations: 7.984 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.009028, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.009162, allocations: 200.5 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009162, allocations: 4 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.009449, allocations: 27.92 kB / 386.2 MB, free: 10.34 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.001239/0.01069, allocations: 433.8 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.01083, allocations: 59.53 kB / 386.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01083, allocations: 4 kB / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.135e-05/0.01088, allocations: 27.62 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.01122, allocations: 31.97 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.01165, allocations: 270.5 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.681e-05/0.01171, allocations: 75.33 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.396e-05/0.01176, allocations: 17.27 kB / 387.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.01179, allocations: 16.5 kB / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01179, allocations: 0 / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of Templates: time 0.004332/0.01612, allocations: 1.886 MB / 389 MB, free: 7.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.3598933848552406]