Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001799/0.001799, allocations: 72.7 kB / 19.93 MB, free: 1.773 MB / 14.72 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.001498/0.001498, allocations: 173.9 kB / 23.22 MB, free: 4.887 MB / 14.72 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.459/1.459, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 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.2207/0.2207, allocations: 32.38 MB / 269.6 MB, free: 4.656 MB / 254.1 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.778e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003184/0.003212, allocations: 1.674 MB / 409.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004574, allocations: 0.7802 MB / 409.9 MB, free: 464 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.004636, allocations: 3.938 kB / 409.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.004929, allocations: 51.81 kB / 410 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.005139, allocations: 59.69 kB / 410 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.005387, allocations: 87.7 kB / 410.1 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.005569, allocations: 103.6 kB / 410.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.005657, allocations: 8.172 kB / 410.2 MB, free: 148 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.005767, allocations: 55.78 kB / 410.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.005847, allocations: 27.89 kB / 410.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.005868, allocations: 4 kB / 410.3 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.005959, allocations: 43.92 kB / 410.3 MB, free: 16 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.006043, allocations: 31.98 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.006093, allocations: 19.92 kB / 410.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.006326, allocations: 127.5 kB / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006329, allocations: 0 / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.00633, allocations: 0 / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.006335, allocations: 0 / 410.5 MB, free: 15.84 MB / 350.1 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.0005512/0.006886, allocations: 369.3 kB / 410.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.00692, allocations: 12.03 kB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.006966, allocations: 12.84 kB / 410.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.007213, allocations: 165.2 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.007228, allocations: 4.375 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.007245, allocations: 384 / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.007396, allocations: 58.23 kB / 411.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.00741, allocations: 3.938 kB / 411.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.007419, allocations: 0 / 411.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.007423, allocations: 0 / 411.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.409e-05/0.007507, allocations: 27.98 kB / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.00786, allocations: 236.6 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.00804, allocations: 58.61 kB / 411.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.008103, allocations: 28.78 kB / 411.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.008122, allocations: 7.984 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.008347, allocations: 67.33 kB / 411.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.008349, allocations: 0 / 411.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006145/0.008963, allocations: 189.2 kB / 411.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.009009, allocations: 59.41 kB / 411.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.009282, allocations: 263.7 kB / 412 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.009304, allocations: 29.7 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.009391, allocations: 112.1 kB / 412.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.009418, allocations: 19.86 kB / 412.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.00946, allocations: 21.72 kB / 412.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.009613, allocations: 334.8 kB / 412.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.009675, allocations: 23.98 kB / 412.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.009753, allocations: 41.64 kB / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.009877, allocations: 61.66 kB / 412.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.009878, allocations: 0 / 412.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.01009, allocations: 109.5 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.0101, allocations: 4 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01011, allocations: 4 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01012, allocations: 0 / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.01022, allocations: 15.98 kB / 412.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01023, allocations: 0 / 412.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.01028, allocations: 11.94 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.01028, allocations: 4 kB / 412.8 MB, free: 13.34 MB / 350.1 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 0.0001297/0.01041, allocations: 149 kB / 413 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.01044, allocations: 11.91 kB / 413 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.01072, allocations: 131.2 kB / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01072, allocations: 0 / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01073, allocations: 0 / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01073, allocations: 4 kB / 413.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.01127, allocations: 358.9 kB / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01128, allocations: 0 / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.01132, allocations: 12 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01132, allocations: 4.031 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01133, allocations: 3.984 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01133, allocations: 4.375 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01134, allocations: 0 / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.01161, allocations: 216.2 kB / 413.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.01163, allocations: 19.84 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.01166, allocations: 4 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.01173, allocations: 7.984 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.01177, allocations: 4 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.01179, allocations: 8.359 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.01199, allocations: 207.2 kB / 413.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01199, allocations: 0 / 413.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.01226, allocations: 20 kB / 414 MB, free: 12.13 MB / 350.1 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.001923/0.01418, allocations: 0.49 MB / 414.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.01438, allocations: 55.92 kB / 414.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01438, allocations: 0 / 414.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.01447, allocations: 27.98 kB / 414.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.01485, allocations: 37.47 kB / 414.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.01544, allocations: 291 kB / 414.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.01558, allocations: 105.9 kB / 415 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.01563, allocations: 24.58 kB / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.01567, allocations: 16.5 kB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.01567, allocations: 0 / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Templates: time 0.005411/0.02109, allocations: 1.847 MB / 416.8 MB, free: 9.297 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.135637149214745]