Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2562/0.2562, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.748e-05/3.95e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002614/0.002653, allocations: 1.693 MB / 348.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003883, allocations: 0.7687 MB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.003957, allocations: 4 kB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.004303, allocations: 39.75 kB / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.004564, allocations: 55.7 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.004808, allocations: 95.62 kB / 349.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.004964, allocations: 95.7 kB / 349.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.005058, allocations: 4.234 kB / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.886e-05/0.005147, allocations: 59.75 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.005223, allocations: 19.92 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.005245, allocations: 4 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.00533, allocations: 43.92 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.0054, allocations: 23.91 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.005451, allocations: 15.94 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.005641, allocations: 107.6 kB / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.005645, allocations: 4 kB / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005646, allocations: 4 kB / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.00565, allocations: 0 / 350 MB, free: 6.688 MB / 282.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.0005289/0.006179, allocations: 345.5 kB / 350.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.006224, allocations: 8.031 kB / 350.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.006297, allocations: 16.89 kB / 350.4 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.006636, allocations: 149.6 kB / 350.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.006656, allocations: 384 / 350.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.006697, allocations: 8.359 kB / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.006871, allocations: 54.23 kB / 350.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.006887, allocations: 11.89 kB / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.006898, allocations: 0 / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.006905, allocations: 0 / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.006988, allocations: 23.92 kB / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.007398, allocations: 228.6 kB / 350.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.007565, allocations: 54.69 kB / 350.9 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.007621, allocations: 24.78 kB / 350.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.007639, allocations: 0 / 350.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.007786, allocations: 71.33 kB / 351 MB, free: 5.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.007787, allocations: 4 kB / 351 MB, free: 5.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005811/0.008368, allocations: 185.3 kB / 351.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.008397, allocations: 55.41 kB / 351.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.00856, allocations: 188.5 kB / 351.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.008572, allocations: 25.7 kB / 351.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.008622, allocations: 96.14 kB / 351.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.008657, allocations: 31.78 kB / 351.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.008699, allocations: 25.72 kB / 351.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.008779, allocations: 322.8 kB / 351.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.008838, allocations: 23.98 kB / 351.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.008901, allocations: 41.64 kB / 352 MB, free: 4.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.009009, allocations: 65.58 kB / 352 MB, free: 4.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.00901, allocations: 0 / 352 MB, free: 4.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/0.009179, allocations: 105.6 kB / 352.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.009211, allocations: 8 kB / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.009218, allocations: 0 / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.009243, allocations: 0 / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.009345, allocations: 12 kB / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.009354, allocations: 8.031 kB / 352.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.009403, allocations: 8.359 kB / 352.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.009412, allocations: 4 kB / 352.2 MB, free: 4.344 MB / 282.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.582e-05/0.009498, allocations: 129.7 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.009524, allocations: 19.91 kB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.009775, allocations: 126.5 kB / 352.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.009779, allocations: 4 kB / 352.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.009786, allocations: 4 kB / 352.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.009791, allocations: 0 / 352.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.01017, allocations: 346.9 kB / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01018, allocations: 0 / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.01021, allocations: 15.92 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01022, allocations: 4 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01023, allocations: 0 / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01023, allocations: 0 / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01023, allocations: 0 / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.01044, allocations: 220.2 kB / 353 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.01046, allocations: 15.94 kB / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.01049, allocations: 0 / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.01056, allocations: 8.031 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.01062, allocations: 7.984 kB / 353.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.01063, allocations: 4 kB / 353.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.191e-05/0.01072, allocations: 148 kB / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01072, allocations: 0 / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.01099, allocations: 20 kB / 353.2 MB, free: 3.219 MB / 282.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.002248/0.01324, allocations: 0.4956 MB / 353.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.01343, allocations: 59.91 kB / 353.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01343, allocations: 0 / 353.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.0135, allocations: 31.92 kB / 353.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.01386, allocations: 37.44 kB / 353.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.01431, allocations: 233.1 kB / 354.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.636e-05/0.01438, allocations: 92.3 kB / 354.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.01442, allocations: 16.78 kB / 354.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.01446, allocations: 16.5 kB / 354.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01446, allocations: 0 / 354.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of Templates: time 0.004901/0.01936, allocations: 1.836 MB / 356 MB, free: 488 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3469369859667495]