Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.001484/0.001484, allocations: 75.64 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.002045/0.002045, allocations: 165.1 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.628/1.628, allocations: 158.6 MB / 185 MB, free: 6.414 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.2404/0.2404, 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.306e-05, allocations: 4.391 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003724/0.003757, allocations: 1.639 MB / 409.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.005316, allocations: 0.7607 MB / 409.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.005389, allocations: 4 kB / 409.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.005772, allocations: 59.73 kB / 409.9 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.006081, allocations: 67.69 kB / 410 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.006395, allocations: 87.06 kB / 410.1 MB, free: 312 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.006634, allocations: 95.69 kB / 410.1 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.006702, allocations: 4 kB / 410.2 MB, free: 212 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.006865, allocations: 63.75 kB / 410.2 MB, free: 148 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.007005, allocations: 35.91 kB / 410.3 MB, free: 112 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.007034, allocations: 4 kB / 410.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.007146, allocations: 39.91 kB / 410.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.173e-05/0.007227, allocations: 19.92 kB / 410.3 MB, free: 48 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.007283, allocations: 11.94 kB / 410.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.007577, allocations: 99.64 kB / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.007582, allocations: 7.922 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.007584, allocations: 0 / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.007589, allocations: 0 / 410.4 MB, free: 15.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007359/0.008325, allocations: 333.6 kB / 410.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.008371, allocations: 8.031 kB / 410.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.008437, allocations: 12.89 kB / 410.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.008808, allocations: 151.7 kB / 410.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.008827, allocations: 384 / 410.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.008841, allocations: 4.375 kB / 410.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.009029, allocations: 50.23 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.009044, allocations: 3.938 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.009056, allocations: 0 / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.009062, allocations: 4 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.009144, allocations: 15.98 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.009399, allocations: 125.3 kB / 411.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.009604, allocations: 58.55 kB / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.009664, allocations: 20.84 kB / 411.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.009681, allocations: 4 kB / 411.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.009864, allocations: 63.39 kB / 411.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/0.009866, allocations: 0 / 411.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003663/0.01023, allocations: 113.5 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.0103, allocations: 55.41 kB / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.01056, allocations: 186.2 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.01059, allocations: 29.7 kB / 411.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.01068, allocations: 104.1 kB / 411.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.01072, allocations: 15.91 kB / 411.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.01078, allocations: 21.7 kB / 411.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.01098, allocations: 318.8 kB / 412.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.01105, allocations: 15.98 kB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.01111, allocations: 29.7 kB / 412.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.01124, allocations: 45.64 kB / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01124, allocations: 0 / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001886/0.01143, allocations: 85.64 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.01145, allocations: 4 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.01146, allocations: 11.88 kB / 412.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.01148, allocations: 3.938 kB / 412.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.01157, allocations: 11.98 kB / 412.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.01158, allocations: 0 / 412.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.01164, allocations: 7.953 kB / 412.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.01165, allocations: 0 / 412.3 MB, free: 13.87 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 (7): * Single equations (assignments): 7 * 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.0001464/0.01179, allocations: 125.8 kB / 412.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01182, allocations: 7.953 kB / 412.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.01209, allocations: 114 kB / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01209, allocations: 0 / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.0121, allocations: 0 / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.0121, allocations: 0 / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.01228, allocations: 129.3 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01228, allocations: 384 / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.01232, allocations: 4 kB / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01232, allocations: 0 / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.01234, allocations: 12 kB / 412.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.01234, allocations: 4.094 kB / 412.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01234, allocations: 0 / 412.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.01257, allocations: 117 kB / 412.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.0126, allocations: 15.88 kB / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.01262, allocations: 0 / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.01266, allocations: 7.938 kB / 412.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.01271, allocations: 7.922 kB / 412.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01272, allocations: 4 kB / 412.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.01287, allocations: 147.2 kB / 413 MB, free: 13.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01287, allocations: 0 / 413 MB, free: 13.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.0131, allocations: 15.98 kB / 413 MB, free: 13.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001816/0.01491, allocations: 447.7 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.01513, allocations: 35.98 kB / 413.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01513, allocations: 0 / 413.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.01521, allocations: 27.92 kB / 413.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.01552, allocations: 23.98 kB / 413.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.0161, allocations: 201.3 kB / 413.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01621, allocations: 91.25 kB / 413.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.097e-05/0.01627, allocations: 8.484 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.01631, allocations: 16.5 kB / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.01631, allocations: 0 / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.005664/0.02198, allocations: 1.598 MB / 415.4 MB, free: 10.72 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.385814074426889]