Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.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.001288/0.001288, 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.001388/0.001388, 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.417/1.417, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2246/0.2246, 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16") [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.003834/0.003834, allocations: 83.86 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3394, allocations: 65.98 MB / 0.5613 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003164/0.3426, allocations: 1.751 MB / 0.563 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3444, allocations: 1.049 MB / 0.564 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.3444, allocations: 0 / 0.564 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3447, allocations: 43.77 kB / 0.5641 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.345, allocations: 99.53 kB / 0.5642 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3452, allocations: 71.69 kB / 0.5642 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3454, allocations: 103.7 kB / 0.5643 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.3455, allocations: 7.938 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3456, allocations: 39.84 kB / 0.5644 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.3457, allocations: 39.72 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3457, allocations: 8 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.3458, allocations: 43.98 kB / 0.5645 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.3459, allocations: 19.92 kB / 0.5645 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.3459, allocations: 35.67 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3461, allocations: 122.2 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3461, allocations: 0 / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3461, allocations: 0 / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3461, allocations: 0 / 0.5646 GB, free: 1.566 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.0006117/0.3468, allocations: 418.7 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3468, allocations: 12.03 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.3468, allocations: 16.84 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.3471, allocations: 212.1 kB / 0.5653 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3471, allocations: 384 / 0.5653 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3472, allocations: 8.312 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3473, allocations: 57.98 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3473, allocations: 0 / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3473, allocations: 0 / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3473, allocations: 0 / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.3474, allocations: 19.98 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.3478, allocations: 284.9 kB / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.348, allocations: 62.59 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.3481, allocations: 16.86 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.3481, allocations: 4 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.3482, allocations: 75.38 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3482, allocations: 0 / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005519/0.3488, allocations: 173.3 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.3488, allocations: 55.45 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.349, allocations: 179.3 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.349, allocations: 25.7 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.3491, allocations: 108.1 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3491, allocations: 23.8 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3492, allocations: 25.7 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3493, allocations: 326.8 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.3494, allocations: 27.92 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.3495, allocations: 29.72 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3496, allocations: 65.89 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3496, allocations: 0 / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.3498, allocations: 113.4 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3498, allocations: 4 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3498, allocations: 4 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3498, allocations: 0 / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.3499, allocations: 12 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3499, allocations: 0 / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.35, allocations: 7.984 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.35, allocations: 4.031 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.0001084/0.3501, allocations: 137.7 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3501, allocations: 7.953 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.3504, allocations: 119.2 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3504, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3504, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.3505, allocations: 89.05 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.3505, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.3505, allocations: 7.938 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3506, allocations: 11.98 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002256/0.3508, allocations: 176.9 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002702/0.3511, allocations: 266.7 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.485e-05/0.3511, allocations: 23.98 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.3513, allocations: 141.6 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.3513, allocations: 3.938 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.3533, allocations: 480.5 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007468/0.354, allocations: 0.6898 MB / 0.569 GB, free: 12.95 MB / 414.1 MB Notification: Performance of Templates: time 0.005207/0.3593, allocations: 1.808 MB / 0.5707 GB, free: 11.15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.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.848340069875121]