Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001793/0.001793, allocations: 76.58 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.002584/0.002584, allocations: 166.6 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.648/1.648, 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.2465/0.2465, 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.94e-05, allocations: 2.281 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003669/0.003699, allocations: 1.678 MB / 409.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.005343, allocations: 0.7762 MB / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.005425, allocations: 4 kB / 409.9 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.005867, allocations: 87.64 kB / 410 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.006146, allocations: 75.66 kB / 410.1 MB, free: 308 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.00644, allocations: 91.02 kB / 410.1 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.006651, allocations: 123.5 kB / 410.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.00676, allocations: 4.234 kB / 410.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.006888, allocations: 59.88 kB / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.007036, allocations: 55.86 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.007062, allocations: 8 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.007165, allocations: 43.92 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.007241, allocations: 23.86 kB / 410.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.007294, allocations: 23.86 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.007528, allocations: 115.6 kB / 410.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.007531, allocations: 3.938 kB / 410.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007532, allocations: 0 / 410.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007536, allocations: 0 / 410.6 MB, free: 15.76 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.0006187/0.008155, allocations: 349.5 kB / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.008194, allocations: 8.031 kB / 410.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.008256, allocations: 16.88 kB / 411 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.008522, allocations: 153.5 kB / 411.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.008538, allocations: 384 / 411.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.008566, allocations: 8.375 kB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.00878, allocations: 54.17 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.008799, allocations: 7.938 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.00881, allocations: 0 / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.008815, allocations: 4 kB / 411.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.323e-05/0.008898, allocations: 19.98 kB / 411.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.009288, allocations: 232.6 kB / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.009472, allocations: 58.61 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.009537, allocations: 28.78 kB / 411.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.009557, allocations: 0 / 411.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.009723, allocations: 71.39 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.009724, allocations: 0 / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.01028, allocations: 181.3 kB / 411.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.01033, allocations: 51.41 kB / 411.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.01057, allocations: 219 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.01059, allocations: 29.7 kB / 412.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.01067, allocations: 108.1 kB / 412.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.0107, allocations: 27.75 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.01074, allocations: 17.72 kB / 412.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.01091, allocations: 330.8 kB / 412.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.01096, allocations: 16 kB / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.01104, allocations: 41.64 kB / 412.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.01117, allocations: 69.62 kB / 412.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01117, allocations: 0 / 412.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002062/0.01138, allocations: 113.6 kB / 412.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01139, allocations: 4 kB / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.0114, allocations: 0 / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01142, allocations: 3.938 kB / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.01151, allocations: 20.17 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01151, allocations: 0 / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.01156, allocations: 7.938 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.01157, allocations: 0 / 412.8 MB, free: 13.37 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.0001302/0.0117, allocations: 137.7 kB / 412.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.01172, allocations: 19.94 kB / 413 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.01199, allocations: 115.1 kB / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01199, allocations: 0 / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01199, allocations: 0 / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.012, allocations: 3.938 kB / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.01255, allocations: 350.9 kB / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01256, allocations: 0 / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.0126, allocations: 11.94 kB / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.0126, allocations: 4 kB / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.01262, allocations: 7.984 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01262, allocations: 4.406 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.01262, allocations: 4 kB / 413.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.01296, allocations: 208.2 kB / 413.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.01298, allocations: 11.91 kB / 413.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.01301, allocations: 8 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.01308, allocations: 7.984 kB / 413.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.01312, allocations: 7.984 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.01314, allocations: 7.984 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.0133, allocations: 167.2 kB / 413.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0133, allocations: 0 / 413.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.01356, allocations: 27.94 kB / 413.9 MB, free: 12.21 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.002064/0.01562, allocations: 493 kB / 414.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.01582, allocations: 63.92 kB / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01583, allocations: 0 / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.01591, allocations: 27.92 kB / 414.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.01626, allocations: 35.7 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.0005736/0.01683, allocations: 242 kB / 414.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.01696, allocations: 100.7 kB / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5e-05/0.01701, allocations: 16.61 kB / 414.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.01706, allocations: 16.5 kB / 414.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01706, allocations: 0 / 414.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Templates: time 0.006616/0.02368, allocations: 1.834 MB / 416.7 MB, free: 9.461 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.394314046949148]