Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001674/0.001674, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001997/0.001997, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.554/1.554, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 79.88 kB / 0.4974 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3909, allocations: 66.08 MB / 0.562 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003641/0.3946, allocations: 1.792 MB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.3967, allocations: 1.047 MB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.3968, allocations: 3.938 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.3973, allocations: 303.3 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005164/0.3978, allocations: 271.2 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.3981, allocations: 103.7 kB / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.3984, allocations: 263.2 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.3985, allocations: 13.81 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3986, allocations: 127.5 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.3989, allocations: 219.4 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.399, allocations: 11.94 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3991, allocations: 47.98 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.3992, allocations: 143.6 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.3994, allocations: 107.1 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.3999, allocations: 396.5 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3999, allocations: 0 / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3999, allocations: 0 / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.3999, allocations: 0 / 0.5667 GB, free: 15.13 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001275/0.4012, allocations: 0.6786 MB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4013, allocations: 12.02 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4014, allocations: 48.61 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.4021, allocations: 394.5 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4021, allocations: 4.375 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.4021, allocations: 8.312 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.4024, allocations: 95.67 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4024, allocations: 0 / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4024, allocations: 3.938 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4024, allocations: 0 / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.4025, allocations: 35.97 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.4029, allocations: 318 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.4032, allocations: 97.23 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4033, allocations: 45.69 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4034, allocations: 0 / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.4036, allocations: 113 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.4036, allocations: 0 / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005295/0.4041, allocations: 209.2 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.4042, allocations: 81.11 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.4055, allocations: 1.058 MB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4055, allocations: 33.7 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.4057, allocations: 240.1 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.4058, allocations: 31.73 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.4058, allocations: 29.72 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.406, allocations: 370.8 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.4061, allocations: 35.97 kB / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.4062, allocations: 59.3 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.4064, allocations: 99.84 kB / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/0.4064, allocations: 8 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003302/0.4068, allocations: 173.2 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4068, allocations: 7.938 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4068, allocations: 4 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4068, allocations: 3.984 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4069, allocations: 19.98 kB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4069, allocations: 7.938 kB / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.786e-05/0.407, allocations: 11.94 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4071, allocations: 4 kB / 0.5708 GB, free: 10.61 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002512/0.4073, allocations: 226.7 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.4074, allocations: 59.56 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.4078, allocations: 205.8 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4078, allocations: 4 kB / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4078, allocations: 0 / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4078, allocations: 0 / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.4081, allocations: 265.2 kB / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4081, allocations: 7.938 kB / 0.5716 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.4082, allocations: 12 kB / 0.5716 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4082, allocations: 4 kB / 0.5716 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4082, allocations: 7.938 kB / 0.5716 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4082, allocations: 4.188 kB / 0.5716 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4082, allocations: 4 kB / 0.5716 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.4086, allocations: 217.6 kB / 0.5718 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.4087, allocations: 67.59 kB / 0.5719 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.4088, allocations: 7.938 kB / 0.5719 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.4089, allocations: 7.984 kB / 0.5719 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.4089, allocations: 11.98 kB / 0.5719 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.4089, allocations: 4 kB / 0.5719 GB, free: 9.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009232/0.4098, allocations: 0.7917 MB / 0.5727 GB, free: 8.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4098, allocations: 0 / 0.5727 GB, free: 8.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.4101, allocations: 47.98 kB / 0.5727 GB, free: 8.605 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001683/0.4118, allocations: 427.2 kB / 0.5731 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.4121, allocations: 87.89 kB / 0.5732 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4121, allocations: 4 kB / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.4122, allocations: 43.98 kB / 0.5733 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.4126, allocations: 84.09 kB / 0.5733 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.414, allocations: 0.9379 MB / 0.5743 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.4143, allocations: 241.7 kB / 0.5745 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.4144, allocations: 31.44 kB / 0.5745 GB, free: 6.859 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4144, allocations: 0 / 0.5745 GB, free: 6.859 MB / 414.1 MB Notification: Performance of Templates: time 0.009163/0.4236, allocations: 5.353 MB / 0.5797 GB, free: 1.508 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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: 8.336887205019593]