Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001334/0.001334, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001413/0.001413, allocations: 208.3 kB / 25.13 MB, free: 3.586 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.07 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.2325/0.2325, allocations: 46.94 MB / 362.1 MB, free: 4.23 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.Test66_usertab,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.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,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.Test66_usertab") [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.002341/0.002341, allocations: 83.86 kB / 0.4979 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3843, allocations: 66.09 MB / 0.5624 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003923/0.3882, allocations: 1.733 MB / 0.5641 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3903, allocations: 1.072 MB / 0.5651 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.3904, allocations: 3.938 kB / 0.5651 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3907, allocations: 39.77 kB / 0.5652 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.3911, allocations: 91.61 kB / 0.5653 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.3913, allocations: 79.67 kB / 0.5653 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3916, allocations: 119.6 kB / 0.5655 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3917, allocations: 11.98 kB / 0.5655 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3918, allocations: 47.78 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3919, allocations: 39.83 kB / 0.5656 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3919, allocations: 4 kB / 0.5656 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.3921, allocations: 115.9 kB / 0.5657 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.3922, allocations: 23.86 kB / 0.5657 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.3923, allocations: 43.72 kB / 0.5657 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.3926, allocations: 173.8 kB / 0.5659 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3926, allocations: 4 kB / 0.5659 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3926, allocations: 0 / 0.5659 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3926, allocations: 4 kB / 0.5659 GB, free: 0.6133 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.0007855/0.3934, allocations: 361.4 kB / 0.5663 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3935, allocations: 8.031 kB / 0.5663 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.3935, allocations: 12.89 kB / 0.5663 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3939, allocations: 154.3 kB / 0.5664 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3939, allocations: 4.375 kB / 0.5664 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3939, allocations: 384 / 0.5664 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.3942, allocations: 113.3 kB / 0.5665 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3942, allocations: 0 / 0.5665 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3942, allocations: 0 / 0.5665 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3942, allocations: 4 kB / 0.5665 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-05/0.3943, allocations: 15.98 kB / 0.5666 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.3947, allocations: 240 kB / 0.5668 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.3949, allocations: 78.48 kB / 0.5669 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.395, allocations: 24.97 kB / 0.5669 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.395, allocations: 0 / 0.5669 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3952, allocations: 71.38 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3952, allocations: 0 / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007094/0.3959, allocations: 213.2 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.396, allocations: 89.03 kB / 0.5672 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3963, allocations: 162.9 kB / 0.5674 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3963, allocations: 29.7 kB / 0.5674 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.3964, allocations: 92.14 kB / 0.5675 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.3964, allocations: 35.73 kB / 0.5675 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.3965, allocations: 29.7 kB / 0.5676 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3967, allocations: 326.8 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.3968, allocations: 31.98 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3969, allocations: 84.2 kB / 0.568 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.397, allocations: 77.64 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.397, allocations: 3.938 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002444/0.3973, allocations: 117.6 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3973, allocations: 7.984 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3973, allocations: 4.062 kB / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3973, allocations: 96 / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3975, allocations: 27.88 kB / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3975, allocations: 0 / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.3975, allocations: 7.984 kB / 0.5682 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3975, allocations: 4 kB / 0.5682 GB, free: 14 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 (13): * Single equations (assignments): 13 * 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.0001376/0.3977, allocations: 125.7 kB / 0.5684 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.3977, allocations: 15.91 kB / 0.5684 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.398, allocations: 138.3 kB / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3981, allocations: 0 / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3981, allocations: 0 / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3981, allocations: 0 / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.3987, allocations: 398.2 kB / 0.5689 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3987, allocations: 0 / 0.5689 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.3988, allocations: 16 kB / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3988, allocations: 0 / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3988, allocations: 11.95 kB / 0.5689 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3988, allocations: 4 kB / 0.5689 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.3988, allocations: 0 / 0.5689 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.3991, allocations: 212.3 kB / 0.5691 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.3991, allocations: 19.88 kB / 0.5691 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3992, allocations: 7.938 kB / 0.5691 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.3992, allocations: 4 kB / 0.5691 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.3993, allocations: 11.98 kB / 0.5692 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3993, allocations: 8.219 kB / 0.5692 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3995, allocations: 131.2 kB / 0.5693 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3995, allocations: 0 / 0.5693 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.3998, allocations: 55.8 kB / 0.5693 GB, free: 12.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 8 * 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.00229/0.4021, allocations: 0.5522 MB / 0.5699 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.4024, allocations: 67.91 kB / 0.5699 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4024, allocations: 4 kB / 0.5699 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.4025, allocations: 31.92 kB / 0.57 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.4029, allocations: 34.47 kB / 0.57 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.4034, allocations: 211.4 kB / 0.5702 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.4038, allocations: 0.7045 MB / 0.5709 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.427e-05/0.4039, allocations: 24.41 kB / 0.5709 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.404, allocations: 31.36 kB / 0.571 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.404, allocations: 0 / 0.571 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Templates: time 0.006852/0.4108, allocations: 2.558 MB / 0.5735 GB, free: 8.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.1024157369975]