Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2245/0.2245, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 79.86 kB / 0.4968 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3032, allocations: 65.99 MB / 0.5613 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003022/0.3062, allocations: 1.748 MB / 0.563 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3079, allocations: 1.049 MB / 0.564 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.3079, allocations: 0 / 0.564 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.3082, allocations: 39.77 kB / 0.5641 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.3085, allocations: 99.53 kB / 0.5642 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.3087, allocations: 75.67 kB / 0.5642 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3088, allocations: 115.6 kB / 0.5643 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.3089, allocations: 4 kB / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.309, allocations: 47.78 kB / 0.5644 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.3091, allocations: 31.84 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3091, allocations: 4 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-05/0.3092, allocations: 39.98 kB / 0.5645 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.3093, allocations: 15.92 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.3093, allocations: 35.73 kB / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3095, allocations: 134.1 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3095, allocations: 0 / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3095, allocations: 0 / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3096, allocations: 4 kB / 0.5646 GB, free: 1.555 MB / 398.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.0005613/0.3101, allocations: 418.7 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3102, allocations: 11.97 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.3102, allocations: 12.84 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.3105, allocations: 204.2 kB / 0.5653 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.3105, allocations: 4.375 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3105, allocations: 4.375 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3107, allocations: 57.92 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3107, allocations: 8 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3107, allocations: 4 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3107, allocations: 0 / 0.5653 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.3108, allocations: 15.98 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.3111, allocations: 284.9 kB / 0.5656 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3113, allocations: 58.61 kB / 0.5657 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.3114, allocations: 16.86 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3114, allocations: 0 / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.3115, allocations: 71.38 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3115, allocations: 0 / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000535/0.3121, allocations: 181.3 kB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.3121, allocations: 55.41 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3123, allocations: 179.3 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3123, allocations: 29.7 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.3124, allocations: 100.1 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.3124, allocations: 23.8 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3125, allocations: 25.7 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3126, allocations: 330.8 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.444e-05/0.3127, allocations: 16 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.3127, allocations: 45.58 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.3129, allocations: 61.7 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3129, allocations: 0 / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.3131, allocations: 105.5 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3131, allocations: 7.984 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3131, allocations: 0 / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3131, allocations: 4 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.3132, allocations: 16.03 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.3132, allocations: 384 / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3132, allocations: 11.94 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3132, allocations: 3.984 kB / 0.5669 GB, free: 15 MB / 414.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.0001055/0.3133, allocations: 125.7 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3134, allocations: 15.95 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.3136, allocations: 115 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3136, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3136, allocations: 4 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.3137, allocations: 85.06 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3137, allocations: 3.984 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.3137, allocations: 11.94 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.3138, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002253/0.314, allocations: 176.9 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002817/0.3143, allocations: 279 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.595e-05/0.3143, allocations: 23.98 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3145, allocations: 141.6 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Backend: time 2.4e-07/0.3145, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.3165, allocations: 484.5 kB / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008314/0.3173, allocations: 0.6751 MB / 0.569 GB, free: 12.95 MB / 414.1 MB Notification: Performance of Templates: time 0.005589/0.3229, allocations: 1.816 MB / 0.5707 GB, free: 11.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.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: 4.817410434130579]