Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.00175/0.00175, allocations: 77 kB / 19.93 MB, free: 1.781 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.002413/0.002413, allocations: 162.8 kB / 23.21 MB, free: 4.91 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.696/1.696, allocations: 158.6 MB / 185 MB, free: 6.391 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.2871/0.2871, allocations: 32.37 MB / 269.6 MB, free: 4.676 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 407.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.163e-05, allocations: 2.281 kB / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003662/0.003693, allocations: 1.682 MB / 409.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.005475, allocations: 0.7802 MB / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.005547, allocations: 0 / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.005914, allocations: 87.69 kB / 410 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.006162, allocations: 75.59 kB / 410.1 MB, free: 312 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.006422, allocations: 91.45 kB / 410.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.006626, allocations: 111.6 kB / 410.3 MB, free: 112 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.00673, allocations: 4.234 kB / 410.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.006863, allocations: 71.8 kB / 410.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.00701, allocations: 51.97 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.007049, allocations: 4 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.007154, allocations: 43.92 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.007228, allocations: 23.86 kB / 410.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.007284, allocations: 19.92 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.007514, allocations: 119.6 kB / 410.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.007517, allocations: 3.938 kB / 410.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.007518, allocations: 0 / 410.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.007522, allocations: 0 / 410.6 MB, free: 15.77 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.0007428/0.008265, allocations: 357.4 kB / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.008314, allocations: 8.031 kB / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.00836, allocations: 12.89 kB / 411 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.008693, allocations: 153.5 kB / 411.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.008707, allocations: 4.375 kB / 411.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.008737, allocations: 4.375 kB / 411.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.008966, allocations: 58.23 kB / 411.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.00898, allocations: 3.938 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.00899, allocations: 0 / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.008996, allocations: 0 / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.009083, allocations: 27.92 kB / 411.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.009499, allocations: 228.6 kB / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.009692, allocations: 54.67 kB / 411.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.009755, allocations: 24.78 kB / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.009768, allocations: 0 / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.01009, allocations: 75.33 kB / 411.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.01009, allocations: 0 / 411.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006544/0.01074, allocations: 185.3 kB / 411.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.0108, allocations: 51.41 kB / 411.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.0111, allocations: 219 kB / 412 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.01114, allocations: 29.7 kB / 412.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01124, allocations: 104.1 kB / 412.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.01129, allocations: 31.73 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.01134, allocations: 25.7 kB / 412.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.01154, allocations: 326.8 kB / 412.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.0116, allocations: 19.98 kB / 412.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.01169, allocations: 33.7 kB / 412.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.01184, allocations: 73.58 kB / 412.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01184, allocations: 0 / 412.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000214/0.01205, allocations: 101.7 kB / 412.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01207, allocations: 4 kB / 412.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.01208, allocations: 4 kB / 412.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.0121, allocations: 3.938 kB / 412.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.0122, allocations: 20.11 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01221, allocations: 0 / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.01226, allocations: 7.938 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.01227, allocations: 8.031 kB / 412.8 MB, free: 13.38 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.0001494/0.01242, allocations: 133.8 kB / 412.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.01244, allocations: 11.91 kB / 412.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.01275, allocations: 119.1 kB / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.01275, allocations: 4 kB / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.01276, allocations: 0 / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.01277, allocations: 3.984 kB / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.01331, allocations: 346.9 kB / 413.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01331, allocations: 4 kB / 413.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.01336, allocations: 20.02 kB / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.01336, allocations: 0 / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.01338, allocations: 4 kB / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01338, allocations: 384 / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.01339, allocations: 3.938 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01368, allocations: 208.3 kB / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01371, allocations: 15.89 kB / 413.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01373, allocations: 4 kB / 413.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.01381, allocations: 11.94 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.01386, allocations: 11.97 kB / 413.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.01388, allocations: 8 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.01415, allocations: 163.2 kB / 413.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01415, allocations: 0 / 413.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.01443, allocations: 31.92 kB / 413.9 MB, free: 12.22 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.001979/0.01641, allocations: 487.9 kB / 414.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.01664, allocations: 63.91 kB / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01664, allocations: 0 / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.01673, allocations: 27.92 kB / 414.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.0171, allocations: 37.94 kB / 414.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.01766, allocations: 242 kB / 414.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.01778, allocations: 104.8 kB / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.01782, allocations: 8.5 kB / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.01787, allocations: 20.48 kB / 414.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01787, allocations: 0 / 414.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Templates: time 0.005647/0.02351, allocations: 1.842 MB / 416.7 MB, free: 9.457 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.343437299132347]