Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001624/0.001624, allocations: 74.97 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.002043/0.002043, allocations: 164.9 kB / 23.21 MB, free: 4.906 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.613/1.613, allocations: 158.6 MB / 185 MB, free: 6.398 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.2231/0.2231, allocations: 32.38 MB / 269.6 MB, free: 4.668 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.613e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00384/0.003876, allocations: 1.67 MB / 409.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.005546, allocations: 0.784 MB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.00563, allocations: 0 / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.006016, allocations: 39.77 kB / 409.9 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.006303, allocations: 59.69 kB / 410 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.006629, allocations: 95 kB / 410.1 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.006851, allocations: 95.64 kB / 410.2 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.006998, allocations: 12.17 kB / 410.2 MB, free: 168 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.007133, allocations: 51.88 kB / 410.2 MB, free: 116 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.007236, allocations: 23.92 kB / 410.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.007263, allocations: 4 kB / 410.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.007395, allocations: 47.91 kB / 410.3 MB, free: 40 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.007478, allocations: 19.92 kB / 410.3 MB, free: 20 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.007541, allocations: 19.88 kB / 410.4 MB, free: 0 / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.00782, allocations: 115.6 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.007825, allocations: 3.938 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.007827, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.007839, allocations: 0 / 410.5 MB, free: 15.88 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.0006943/0.008533, allocations: 341.6 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.008578, allocations: 12.03 kB / 410.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.008628, allocations: 12.89 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.008944, allocations: 143.8 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.00896, allocations: 8.359 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.008988, allocations: 4.375 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.009151, allocations: 54.23 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.009169, allocations: 15.86 kB / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.009179, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.009184, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.009277, allocations: 19.98 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.009721, allocations: 220.6 kB / 411.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.009944, allocations: 66.56 kB / 411.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.394e-05/0.01001, allocations: 24.78 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.01002, allocations: 4 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.01018, allocations: 71.38 kB / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.01018, allocations: 0 / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006297/0.01081, allocations: 185.3 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.01087, allocations: 59.39 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.01111, allocations: 190.2 kB / 411.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01114, allocations: 25.7 kB / 411.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.01122, allocations: 104.1 kB / 412 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.01125, allocations: 23.84 kB / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.0113, allocations: 21.72 kB / 412 MB, free: 14.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.01147, allocations: 322.8 kB / 412.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.01153, allocations: 23.98 kB / 412.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.01167, allocations: 33.7 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01181, allocations: 69.58 kB / 412.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01181, allocations: 4 kB / 412.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.01202, allocations: 105.6 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01204, allocations: 4 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01204, allocations: 0 / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.01206, allocations: 4 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.01215, allocations: 16.17 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.01216, allocations: 0 / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.01222, allocations: 15.89 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.01224, allocations: 4 kB / 412.6 MB, free: 13.54 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.0001261/0.01236, allocations: 133.7 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.01239, allocations: 7.953 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.01273, allocations: 122.4 kB / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01273, allocations: 4 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01273, allocations: 0 / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01274, allocations: 3.984 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.01322, allocations: 342.9 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01322, allocations: 0 / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.539e-05/0.01327, allocations: 11.94 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01327, allocations: 4 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01329, allocations: 8.016 kB / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01329, allocations: 4.312 kB / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01329, allocations: 0 / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.0136, allocations: 216.2 kB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.01365, allocations: 7.953 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.01369, allocations: 12 kB / 413.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.01376, allocations: 3.984 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.01382, allocations: 7.984 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.01384, allocations: 4 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.014, allocations: 151.1 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.014, allocations: 4 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.01428, allocations: 23.98 kB / 413.7 MB, free: 12.41 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.00206/0.01634, allocations: 491.3 kB / 414.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.01658, allocations: 63.91 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01658, allocations: 0 / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01668, allocations: 31.92 kB / 414.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.01709, allocations: 32.22 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.01772, allocations: 226.5 kB / 414.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.01784, allocations: 88.31 kB / 414.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.01789, allocations: 20.47 kB / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.01794, allocations: 20.5 kB / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.01794, allocations: 0 / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005936/0.02387, allocations: 1.825 MB / 416.5 MB, free: 9.684 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.191283043473959]