Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001082/0.001082, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.004352/0.004352, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.027/1.027, allocations: 177 MB / 205.2 MB, free: 5.074 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.2763/0.2763, allocations: 34.86 MB / 296.6 MB, free: 476 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.961e-05, allocations: 9.406 kB / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002283/0.002303, allocations: 1.818 MB / 327.9 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003561, allocations: 1.006 MB / 328.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.214e-05/0.003633, allocations: 0 / 328.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.003903, allocations: 51.75 kB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.004159, allocations: 103.4 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.004342, allocations: 67.69 kB / 329.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.004489, allocations: 116.4 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.004572, allocations: 7.984 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.004663, allocations: 59.81 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.004736, allocations: 19.92 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.004752, allocations: 4 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.004836, allocations: 47.86 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.004883, allocations: 35.84 kB / 329.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.004914, allocations: 19.92 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.005058, allocations: 103.6 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-06/0.005059, allocations: 0 / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.00506, allocations: 0 / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.846e-06/0.005063, allocations: 4 kB / 329.5 MB, free: 3.582 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.0003401/0.005403, allocations: 333.4 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.00543, allocations: 8.031 kB / 329.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.00546, allocations: 8.922 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.005602, allocations: 154.3 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.005617, allocations: 8.375 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.005635, allocations: 384 / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.737e-05/0.005732, allocations: 69.75 kB / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.00574, allocations: 192 / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.005746, allocations: 384 / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005753, allocations: 3.938 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.005776, allocations: 8 kB / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.005967, allocations: 177.9 kB / 330.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.759e-05/0.006045, allocations: 81.3 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.006061, allocations: 12.86 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.006071, allocations: 0 / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.988e-05/0.006151, allocations: 70.19 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006152, allocations: 3.938 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002709/0.006423, allocations: 113.5 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.006449, allocations: 55.39 kB / 330.6 MB, free: 2.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.006551, allocations: 193.6 kB / 330.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.006565, allocations: 33.69 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.006595, allocations: 96.06 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.006619, allocations: 31.77 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.006651, allocations: 21.72 kB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.006726, allocations: 338.7 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.006741, allocations: 10.83 kB / 331.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.00676, allocations: 17.72 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.006802, allocations: 44.88 kB / 331.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.006803, allocations: 0 / 331.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.885e-05/0.006872, allocations: 68.44 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.006883, allocations: 9.031 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006888, allocations: 8.031 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.0069, allocations: 4 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.006955, allocations: 15.98 kB / 331.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.006959, allocations: 3.938 kB / 331.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.006985, allocations: 12 kB / 331.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.006989, allocations: 0 / 331.5 MB, free: 1.426 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.865e-05/0.007048, allocations: 116.7 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.00706, allocations: 15.92 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.855e-05/0.007159, allocations: 79.05 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.007161, allocations: 0 / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007162, allocations: 4 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.007165, allocations: 4 kB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.007365, allocations: 295.6 kB / 332 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007367, allocations: 3.938 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.007392, allocations: 11.98 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.007394, allocations: 0 / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.0074, allocations: 4 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.0074, allocations: 0 / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007402, allocations: 0 / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.496e-05/0.007497, allocations: 215 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.007511, allocations: 27.86 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.007525, allocations: 3.938 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.007563, allocations: 4 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.007586, allocations: 7.984 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.007597, allocations: 4 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.53e-05/0.007642, allocations: 60.53 kB / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007642, allocations: 0 / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001433/0.007786, allocations: 27.92 kB / 332.3 MB, free: 496 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.001234/0.009019, allocations: 0.5619 MB / 332.9 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.009111, allocations: 40.83 kB / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.009115, allocations: 0 / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.843e-05/0.009143, allocations: 28.78 kB / 333 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.009312, allocations: 32.05 kB / 333 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.009859, allocations: 242.5 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.009899, allocations: 71.34 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.009934, allocations: 17.27 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.009993, allocations: 71.3 kB / 333.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009994, allocations: 0 / 333.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003337/0.01333, allocations: 2.022 MB / 335.4 MB, free: 13.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.090677060186863]