Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.00126/0.00126, allocations: 113.9 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.001333/0.001333, allocations: 209.8 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.401/1.401, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2232/0.2232, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") [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.002273/0.002273, allocations: 83.86 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2906, allocations: 65.98 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003256/0.2938, allocations: 1.784 MB / 0.5631 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.2956, allocations: 1.053 MB / 0.5641 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.2957, allocations: 4 kB / 0.5641 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.296, allocations: 111.6 kB / 0.5642 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.2964, allocations: 127.5 kB / 0.5643 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2966, allocations: 83.66 kB / 0.5644 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.2968, allocations: 131.7 kB / 0.5645 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.2969, allocations: 24.14 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.297, allocations: 67.75 kB / 0.5646 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2971, allocations: 79.67 kB / 0.5647 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2971, allocations: 4 kB / 0.5647 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.2972, allocations: 63.97 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.2973, allocations: 35.91 kB / 0.5648 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.2974, allocations: 51.61 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.2976, allocations: 163.2 kB / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2976, allocations: 0 / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2976, allocations: 0 / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2976, allocations: 0 / 0.565 GB, free: 1.227 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006306/0.2983, allocations: 474.3 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2983, allocations: 11.97 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.2984, allocations: 16.84 kB / 0.5655 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2987, allocations: 221.1 kB / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2987, allocations: 4.375 kB / 0.5657 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2987, allocations: 4.375 kB / 0.5657 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.2989, allocations: 81.91 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2989, allocations: 3.953 kB / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2989, allocations: 4 kB / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2989, allocations: 0 / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.299, allocations: 35.97 kB / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.2995, allocations: 336.7 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.2998, allocations: 70.48 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.2998, allocations: 28.83 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.2998, allocations: 4 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.3, allocations: 79.38 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3, allocations: 112 / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008532/0.3009, allocations: 301.6 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3009, allocations: 55.41 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.3012, allocations: 267.6 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3012, allocations: 37.69 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.3013, allocations: 116.1 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.3013, allocations: 51.78 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.3014, allocations: 25.72 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3015, allocations: 334.8 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.3016, allocations: 31.98 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.429e-05/0.3017, allocations: 57.64 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.3019, allocations: 105.7 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3019, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002742/0.3022, allocations: 161.5 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3022, allocations: 7.984 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3022, allocations: 4 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3022, allocations: 0 / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.3023, allocations: 23.98 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3023, allocations: 8.031 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.3024, allocations: 7.938 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3024, allocations: 4 kB / 0.5678 GB, free: 14.07 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 (16): * Single equations (assignments): 16 * 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.0001269/0.3025, allocations: 141.1 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.3025, allocations: 19.86 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.3029, allocations: 190.5 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3029, allocations: 0 / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3029, allocations: 0 / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.303, allocations: 96.95 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.303, allocations: 4 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.3031, allocations: 11.92 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.3031, allocations: 4 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003216/0.3034, allocations: 224.9 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003642/0.3038, allocations: 338.6 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.386e-05/0.3039, allocations: 47.92 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.3041, allocations: 197.4 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Backend: time 1.8e-07/0.3041, allocations: 0 / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.3063, allocations: 0.5645 MB / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008188/0.3071, allocations: 0.7501 MB / 0.5703 GB, free: 11.6 MB / 414.1 MB Notification: Performance of Templates: time 0.005617/0.3128, allocations: 2.36 MB / 0.5726 GB, free: 9.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.647593804169446]