Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.001609/0.001609, allocations: 77.16 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.002856/0.002856, allocations: 165.3 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.752/1.752, 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.234/0.234, 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.123e-05/4.371e-05, allocations: 2.281 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003681/0.003725, allocations: 1.685 MB / 409.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.005537, allocations: 0.7802 MB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.005628, allocations: 0 / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.006, allocations: 51.81 kB / 410 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.006281, allocations: 59.62 kB / 410 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.006609, allocations: 91.69 kB / 410.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.006837, allocations: 99.69 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.006963, allocations: 8.172 kB / 410.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.007102, allocations: 55.83 kB / 410.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.007201, allocations: 23.91 kB / 410.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.007233, allocations: 4 kB / 410.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.007349, allocations: 43.92 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.354e-05/0.007443, allocations: 27.86 kB / 410.4 MB, free: 0 / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.007531, allocations: 24.03 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.007814, allocations: 123.6 kB / 410.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.007818, allocations: 7.938 kB / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.007819, allocations: 0 / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.007825, 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.0008445/0.008669, allocations: 377.3 kB / 410.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.696e-05/0.008736, allocations: 8.031 kB / 410.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.008805, allocations: 16.84 kB / 410.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.00925, allocations: 153.3 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.00927, allocations: 384 / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.009296, allocations: 4.375 kB / 411.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.009518, allocations: 54.23 kB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.00954, allocations: 7.938 kB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.009557, allocations: 4 kB / 411.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.009571, allocations: 0 / 411.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.009682, allocations: 31.91 kB / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.01026, allocations: 236.6 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.01053, allocations: 54.67 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.01059, allocations: 24.73 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.01062, allocations: 4 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.0109, allocations: 79.31 kB / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.0109, allocations: 0 / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008678/0.01177, allocations: 193.2 kB / 411.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.01185, allocations: 55.41 kB / 411.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.01225, allocations: 259.7 kB / 412 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.01228, allocations: 25.7 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.01242, allocations: 112.1 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.01247, allocations: 19.86 kB / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.01253, allocations: 29.7 kB / 412.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.01281, allocations: 322.8 kB / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.01288, allocations: 27.98 kB / 412.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.01299, allocations: 37.7 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.01314, allocations: 65.58 kB / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.01315, allocations: 4 kB / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002323/0.01338, allocations: 105.6 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.0134, allocations: 4 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.01341, allocations: 0 / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.01343, allocations: 0 / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.01357, allocations: 24.16 kB / 412.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.01358, allocations: 0 / 412.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.01364, allocations: 15.92 kB / 412.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.01365, allocations: 0 / 412.8 MB, free: 13.35 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.0001793/0.01383, allocations: 141.7 kB / 413 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.01386, allocations: 15.91 kB / 413 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.01421, allocations: 123.1 kB / 413.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01421, allocations: 0 / 413.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.01422, allocations: 0 / 413.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.01423, allocations: 0 / 413.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.01485, allocations: 366.9 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01485, allocations: 0 / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.01491, allocations: 11.98 kB / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.01491, allocations: 3.984 kB / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01493, allocations: 4 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01493, allocations: 384 / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.01494, allocations: 7.875 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.01531, allocations: 212.2 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.01534, allocations: 23.89 kB / 413.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.01538, allocations: 11.97 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.01546, allocations: 4 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.01552, allocations: 3.984 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.01555, allocations: 8 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.01581, allocations: 207.2 kB / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01581, allocations: 0 / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.01613, allocations: 19.98 kB / 414 MB, free: 12.14 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.002079/0.01821, allocations: 493.5 kB / 414.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01842, allocations: 55.91 kB / 414.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.01843, allocations: 4 kB / 414.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.01852, allocations: 35.91 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.0005118/0.01903, allocations: 39.59 kB / 414.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.01975, allocations: 291.1 kB / 414.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.01988, allocations: 105.8 kB / 415 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.01994, allocations: 16.34 kB / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.01999, allocations: 16.5 kB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.01999, allocations: 0 / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Templates: time 0.006476/0.02646, allocations: 1.839 MB / 416.8 MB, free: 9.305 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.48610670492053]