Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.001666/0.001666, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.001813/0.001813, allocations: 211 kB / 24.48 MB, free: 4.035 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.417/1.417, 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.2206/0.2206, allocations: 46.87 MB / 361.1 MB, free: 4.758 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1") [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.002423/0.002423, allocations: 83.86 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3023, allocations: 65.98 MB / 0.5613 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003042/0.3053, allocations: 1.748 MB / 0.563 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.307, allocations: 1.045 MB / 0.564 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.3071, allocations: 3.938 kB / 0.564 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.3074, allocations: 59.75 kB / 0.5641 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.3077, allocations: 95.53 kB / 0.5642 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.3079, allocations: 83.66 kB / 0.5642 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.308, allocations: 99.75 kB / 0.5643 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.3081, allocations: 8 kB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.429e-05/0.3082, allocations: 47.77 kB / 0.5644 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.3083, allocations: 35.8 kB / 0.5644 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3083, allocations: 4 kB / 0.5644 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.3084, allocations: 43.92 kB / 0.5645 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.3085, allocations: 31.84 kB / 0.5645 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3085, allocations: 43.67 kB / 0.5645 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3088, allocations: 138.2 kB / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3088, allocations: 0 / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3088, allocations: 0 / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.3088, allocations: 0 / 0.5647 GB, free: 1.543 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.0005924/0.3094, allocations: 458.3 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3094, allocations: 12.03 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3095, allocations: 12.84 kB / 0.5651 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.3097, allocations: 221 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3097, allocations: 384 / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3098, allocations: 8.375 kB / 0.5654 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3099, allocations: 57.97 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3099, allocations: 0 / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3099, allocations: 4 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3099, allocations: 4 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.31, allocations: 19.98 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.3104, allocations: 300.8 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3105, allocations: 50.67 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.3106, allocations: 20.84 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3106, allocations: 11.98 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.3108, allocations: 71.33 kB / 0.5659 GB, free: 152 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3108, allocations: 0 / 0.5659 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005497/0.3113, allocations: 185.5 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3113, allocations: 55.34 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3116, allocations: 274.8 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3116, allocations: 29.7 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.3117, allocations: 116.1 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.3118, allocations: 27.78 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3118, allocations: 17.72 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3119, allocations: 330.6 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.312, allocations: 27.92 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.3121, allocations: 37.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3122, allocations: 69.7 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3122, allocations: 0 / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.3124, allocations: 109.5 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3124, allocations: 6.5 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3124, allocations: 0 / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3124, allocations: 4 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.3125, allocations: 19.92 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3125, allocations: 3.938 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.3126, allocations: 8.031 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3126, allocations: 4 kB / 0.5671 GB, free: 14.78 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.0001149/0.3127, allocations: 133.8 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.3127, allocations: 15.91 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.313, allocations: 119 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.313, allocations: 3.984 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.313, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.313, allocations: 89.02 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.3131, allocations: 11.94 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.3131, allocations: 4 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3132, allocations: 7.984 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000228/0.3134, allocations: 172.9 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000283/0.3137, allocations: 278.6 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.017e-05/0.3137, allocations: 19.98 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.3139, allocations: 212.5 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Backend: time 2.51e-07/0.3139, allocations: 0 / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3159, allocations: 498.6 kB / 0.5686 GB, free: 13.35 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007484/0.3167, allocations: 0.7253 MB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of Templates: time 0.005045/0.3217, allocations: 1.862 MB / 0.5712 GB, free: 10.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.733256176114082]