Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.001809/0.001809, allocations: 109.1 kB / 21.84 MB, free: 88 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.002073/0.002073, allocations: 218 kB / 25.13 MB, free: 3.609 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.511/1.511, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2422/0.2422, allocations: 46.93 MB / 362 MB, free: 4.309 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73") [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.003419/0.003419, allocations: 87.84 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3928, allocations: 66.09 MB / 0.5624 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004227/0.397, allocations: 1.924 MB / 0.5643 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.3994, allocations: 1.15 MB / 0.5654 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.3996, allocations: 7.938 kB / 0.5654 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.4, allocations: 163.5 kB / 0.5656 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.4006, allocations: 179.3 kB / 0.5657 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.4009, allocations: 119.6 kB / 0.5659 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.4013, allocations: 251.3 kB / 0.5661 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.4015, allocations: 21.61 kB / 0.5661 GB, free: 420 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.4017, allocations: 123.5 kB / 0.5662 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.4019, allocations: 139.5 kB / 0.5664 GB, free: 156 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.4019, allocations: 8 kB / 0.5664 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.4021, allocations: 67.97 kB / 0.5664 GB, free: 80 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.4023, allocations: 55.77 kB / 0.5665 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4024, allocations: 87.28 kB / 0.5666 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.4028, allocations: 217.9 kB / 0.5668 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4028, allocations: 4 kB / 0.5668 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4028, allocations: 0 / 0.5668 GB, free: 15.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4028, allocations: 0 / 0.5668 GB, free: 15.72 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009038/0.4037, allocations: 496.4 kB / 0.5673 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4038, allocations: 8.031 kB / 0.5673 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.4038, allocations: 32.75 kB / 0.5673 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.4044, allocations: 214.6 kB / 0.5675 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.4044, allocations: 12.36 kB / 0.5675 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.4044, allocations: 12.36 kB / 0.5675 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.4047, allocations: 114.8 kB / 0.5676 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4047, allocations: 3.984 kB / 0.5676 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4047, allocations: 0 / 0.5676 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.4047, allocations: 4 kB / 0.5676 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4049, allocations: 43.97 kB / 0.5677 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.4056, allocations: 443.8 kB / 0.5681 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.406, allocations: 113.2 kB / 0.5682 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4061, allocations: 49.81 kB / 0.5683 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4061, allocations: 3.938 kB / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.4063, allocations: 121.2 kB / 0.5684 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4063, allocations: 0 / 0.5684 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001432/0.4078, allocations: 0.4969 MB / 0.5689 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.4078, allocations: 81.11 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.4084, allocations: 380.5 kB / 0.5693 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.4084, allocations: 29.7 kB / 0.5693 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.4087, allocations: 140.5 kB / 0.5695 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.4087, allocations: 79.38 kB / 0.5696 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.4088, allocations: 37.72 kB / 0.5696 GB, free: 12.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002893/0.4091, allocations: 350.7 kB / 0.5699 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.4092, allocations: 55.97 kB / 0.57 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.4094, allocations: 92.22 kB / 0.5701 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.4097, allocations: 163.5 kB / 0.5702 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.4097, allocations: 0 / 0.5702 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000475/0.4102, allocations: 233.3 kB / 0.5704 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4102, allocations: 4 kB / 0.5704 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4102, allocations: 4 kB / 0.5705 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4102, allocations: 3.938 kB / 0.5705 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.4104, allocations: 51.92 kB / 0.5705 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4104, allocations: 3.984 kB / 0.5705 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.4105, allocations: 12.06 kB / 0.5705 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.4105, allocations: 8 kB / 0.5705 GB, free: 11.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001663/0.4107, allocations: 157.8 kB / 0.5707 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.4107, allocations: 31.81 kB / 0.5707 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.4113, allocations: 264.2 kB / 0.571 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4113, allocations: 4 kB / 0.571 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4113, allocations: 0 / 0.571 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4113, allocations: 3.938 kB / 0.571 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.4124, allocations: 0.699 MB / 0.5717 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4124, allocations: 3.938 kB / 0.5717 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.331e-05/0.4125, allocations: 35.92 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4125, allocations: 4 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.4125, allocations: 4.125 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.4125, allocations: 8 kB / 0.5717 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4125, allocations: 0 / 0.5717 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.4131, allocations: 437.8 kB / 0.5721 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.4131, allocations: 19.86 kB / 0.5721 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.4132, allocations: 11.98 kB / 0.5722 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4133, allocations: 8 kB / 0.5722 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.4134, allocations: 19.91 kB / 0.5722 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.4134, allocations: 12 kB / 0.5722 GB, free: 9.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.4137, allocations: 283 kB / 0.5725 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4137, allocations: 0 / 0.5725 GB, free: 9.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.4141, allocations: 51.94 kB / 0.5725 GB, free: 9.512 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002023/0.4161, allocations: 0.5148 MB / 0.573 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.4165, allocations: 143.8 kB / 0.5731 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4165, allocations: 0 / 0.5731 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.4167, allocations: 76.16 kB / 0.5732 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.4172, allocations: 59.84 kB / 0.5733 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4183, allocations: 0.4963 MB / 0.5738 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.4188, allocations: 0.7636 MB / 0.5745 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.4189, allocations: 41.92 kB / 0.5745 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.419, allocations: 35.42 kB / 0.5746 GB, free: 7.492 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.419, allocations: 0 / 0.5746 GB, free: 7.492 MB / 414.1 MB Notification: Performance of Templates: time 0.008034/0.4271, allocations: 3.254 MB / 0.5778 GB, free: 4.262 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.347008010838181]