Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001102/0.001102, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001539/0.001539, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9975/0.9975, allocations: 177 MB / 205.2 MB, free: 5.039 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.2534/0.2534, allocations: 34.86 MB / 296.6 MB, free: 460 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 326 MB, free: 7.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.406e-05, allocations: 5.406 kB / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002/0.002014, allocations: 1.809 MB / 327.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003078, allocations: 1.009 MB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.003128, allocations: 4 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.003344, allocations: 75.64 kB / 328.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.003544, allocations: 119.4 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.003658, allocations: 83.59 kB / 329.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003784, allocations: 120.4 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.00386, allocations: 15.97 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.003936, allocations: 63.81 kB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.004009, allocations: 47.89 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.004021, allocations: 4 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.004088, allocations: 51.84 kB / 329.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.004123, allocations: 23.86 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.00415, allocations: 19.92 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.004294, allocations: 103.6 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.004295, allocations: 4 kB / 329.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004296, allocations: 4 kB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.004299, allocations: 0 / 329.6 MB, free: 3.453 MB / 298.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.0003808/0.004679, allocations: 325.5 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.00471, allocations: 12.03 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.004739, allocations: 8.922 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.004877, allocations: 149.5 kB / 330.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.004892, allocations: 4.375 kB / 330.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.004906, allocations: 4.375 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.005001, allocations: 65.77 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.005011, allocations: 192 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.005019, allocations: 8.359 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.005025, allocations: 3.938 kB / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.005046, allocations: 4 kB / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.005229, allocations: 169.9 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.698e-05/0.005306, allocations: 89.34 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.005322, allocations: 8.859 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.005331, allocations: 4 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.655e-05/0.005407, allocations: 66.22 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005408, allocations: 0 / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003344/0.005742, allocations: 117.4 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.005769, allocations: 59.34 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.00587, allocations: 185.1 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.005881, allocations: 25.7 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.005911, allocations: 100.1 kB / 331 MB, free: 1.926 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.005935, allocations: 27.78 kB / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.005961, allocations: 25.64 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.006027, allocations: 330.8 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.006042, allocations: 14.83 kB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.006063, allocations: 25.7 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.0061, allocations: 36.89 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006101, allocations: 0 / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.769e-05/0.006168, allocations: 72.44 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.006187, allocations: 13.19 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006191, allocations: 7.984 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.006202, allocations: 0 / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.006255, allocations: 15.94 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.006259, allocations: 8.031 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.006281, allocations: 0 / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.006289, allocations: 7.984 kB / 331.5 MB, free: 1.316 MB / 298.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.182e-05/0.00634, allocations: 112.7 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.006353, allocations: 15.92 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.053e-05/0.006443, allocations: 79.06 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006446, allocations: 4 kB / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.006447, allocations: 0 / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.00645, allocations: 0 / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.006642, allocations: 303.6 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.006645, allocations: 3.938 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.006667, allocations: 12 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.006669, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.006675, allocations: 4 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006676, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006677, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.231e-05/0.006769, allocations: 215 kB / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.00678, allocations: 11.89 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.006795, allocations: 4 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.006835, allocations: 4 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.006859, allocations: 11.95 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.00687, allocations: 4 kB / 332.3 MB, free: 488 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.006915, allocations: 65.53 kB / 332.4 MB, free: 420 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006915, allocations: 0 / 332.4 MB, free: 420 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.007057, allocations: 31.92 kB / 332.4 MB, free: 388 kB / 298.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.001209/0.008266, allocations: 0.5576 MB / 333 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.531e-05/0.008342, allocations: 32.84 kB / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.008345, allocations: 4 kB / 333 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.008376, allocations: 32.77 kB / 333 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.008547, allocations: 36 kB / 333.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.008816, allocations: 238.8 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.008851, allocations: 67.28 kB / 333.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.008884, allocations: 21.27 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.008948, allocations: 67.36 kB / 333.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.008949, allocations: 0 / 333.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003152/0.0121, allocations: 2.018 MB / 335.5 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.886483322363347]