Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001466/0.001466, 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.001499/0.001499, 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.9839/0.9839, 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.3081/0.3081, allocations: 34.86 MB / 296.6 MB, free: 468 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.732e-05, allocations: 3.406 kB / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00273/0.002758, allocations: 1.813 MB / 327.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004081, allocations: 1.006 MB / 328.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.004154, allocations: 3.938 kB / 328.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.004448, allocations: 47.75 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.004752, allocations: 91.42 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.004976, allocations: 83.66 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.005169, allocations: 108.4 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.005282, allocations: 7.984 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.00539, allocations: 59.81 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.00548, allocations: 23.92 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.005497, allocations: 4 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.005598, allocations: 51.84 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.005653, allocations: 27.86 kB / 329.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.00569, allocations: 15.94 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.005872, allocations: 103.6 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005875, allocations: 0 / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005876, allocations: 0 / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.00588, allocations: 0 / 329.5 MB, free: 3.586 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.000381/0.006261, allocations: 329.5 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.006293, allocations: 8.031 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.006324, allocations: 4.938 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.006487, allocations: 154 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.006503, allocations: 8.375 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.006519, allocations: 4.375 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.006626, allocations: 61.77 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.006636, allocations: 192 / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.006644, allocations: 4.375 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.00665, allocations: 7.922 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.006674, allocations: 7.984 kB / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.006883, allocations: 165.9 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.006982, allocations: 89.3 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.007004, allocations: 16.84 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.007016, allocations: 4 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.847e-05/0.007105, allocations: 62.2 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.007107, allocations: 4 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002984/0.007405, allocations: 109.5 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.007436, allocations: 59.41 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.007548, allocations: 176.3 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.00756, allocations: 25.7 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.007593, allocations: 100.1 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.007793, allocations: 31.77 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.007828, allocations: 21.72 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.007911, allocations: 326.8 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.007939, allocations: 18.75 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.007967, allocations: 22.08 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.008015, allocations: 44.45 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008016, allocations: 0 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.367e-05/0.00811, allocations: 72.44 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.008127, allocations: 9.188 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.008134, allocations: 0 / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.008148, allocations: 8.031 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.008226, allocations: 16 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00823, allocations: 0 / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.008263, allocations: 15.92 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008269, allocations: 0 / 331.4 MB, free: 1.461 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 7.495e-05/0.008344, allocations: 120.7 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.00836, allocations: 15.92 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.008487, allocations: 75.08 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008489, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.008491, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.008495, allocations: 4 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.008738, allocations: 291.6 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.008742, allocations: 3.938 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.008775, allocations: 12 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.008778, allocations: 0 / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.008786, allocations: 4 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.008788, allocations: 4 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.00879, allocations: 0 / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.008898, allocations: 215 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.008913, allocations: 19.88 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.008932, allocations: 4 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.008977, allocations: 4 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.009003, allocations: 7.984 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.009019, allocations: 0 / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.009065, allocations: 60.69 kB / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009065, allocations: 0 / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.009215, allocations: 27.92 kB / 332.3 MB, free: 0.5352 MB / 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.001394/0.01061, allocations: 0.5681 MB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.01072, allocations: 40.77 kB / 332.9 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.01072, allocations: 0 / 332.9 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/0.01075, allocations: 28.78 kB / 332.9 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.01096, allocations: 35.98 kB / 332.9 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.01135, allocations: 231.9 kB / 333.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01139, allocations: 67.33 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.01143, allocations: 21.27 kB / 333.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.0115, allocations: 71.36 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0115, allocations: 0 / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Templates: time 0.003982/0.01548, allocations: 2.019 MB / 335.3 MB, free: 13.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.047266136854887]