Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002438/0.002438, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 225.6 MB / 253.3 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2672/0.2672, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 497.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3936, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003942/0.3975, allocations: 1.817 MB / 0.5506 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3999, allocations: 0.9791 MB / 0.5516 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.4001, allocations: 5.375 kB / 0.5516 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007682/0.4008, allocations: 303.6 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.4014, allocations: 216.1 kB / 0.5521 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.4021, allocations: 165.8 kB / 0.5523 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.4025, allocations: 248.2 kB / 0.5525 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.4026, allocations: 13.95 kB / 0.5525 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.4028, allocations: 130.7 kB / 0.5526 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.4031, allocations: 218.8 kB / 0.5528 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.4031, allocations: 7.156 kB / 0.5529 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.4033, allocations: 44.83 kB / 0.5529 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.4034, allocations: 139.2 kB / 0.553 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.4036, allocations: 141.2 kB / 0.5532 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.4042, allocations: 373.3 kB / 0.5535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4042, allocations: 0 / 0.5535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4042, allocations: 0 / 0.5535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.4042, allocations: 0 / 0.5535 GB, free: 9.859 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001245/0.4054, allocations: 0.6779 MB / 0.5542 GB, free: 9.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.4055, allocations: 13.53 kB / 0.5542 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.4056, allocations: 55.02 kB / 0.5542 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/0.4064, allocations: 387.1 kB / 0.5546 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4064, allocations: 1.438 kB / 0.5546 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4064, allocations: 11.28 kB / 0.5546 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.4067, allocations: 83.64 kB / 0.5547 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4067, allocations: 5.156 kB / 0.5547 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.4067, allocations: 4 kB / 0.5547 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4067, allocations: 1 kB / 0.5547 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.4069, allocations: 27.91 kB / 0.5547 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.4074, allocations: 348.6 kB / 0.5551 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.4077, allocations: 110.5 kB / 0.5552 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4078, allocations: 36.83 kB / 0.5552 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.4078, allocations: 1.719 kB / 0.5552 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.408, allocations: 122.4 kB / 0.5553 GB, free: 8.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.408, allocations: 0.9688 kB / 0.5553 GB, free: 8.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005428/0.4086, allocations: 200.6 kB / 0.5555 GB, free: 8.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.4086, allocations: 78.3 kB / 0.5556 GB, free: 8.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.41, allocations: 1.033 MB / 0.5566 GB, free: 7.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.41, allocations: 33.7 kB / 0.5566 GB, free: 7.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.4102, allocations: 232.1 kB / 0.5569 GB, free: 7.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.4103, allocations: 31.78 kB / 0.5569 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.4103, allocations: 25.72 kB / 0.5569 GB, free: 6.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.4105, allocations: 366.8 kB / 0.5573 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.4106, allocations: 27.98 kB / 0.5573 GB, free: 6.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4107, allocations: 59.41 kB / 0.5574 GB, free: 6.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.4109, allocations: 87.36 kB / 0.5574 GB, free: 6.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4109, allocations: 4.5 kB / 0.5574 GB, free: 6.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003231/0.4112, allocations: 181.1 kB / 0.5576 GB, free: 6.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4113, allocations: 4 kB / 0.5576 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4113, allocations: 4 kB / 0.5576 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4113, allocations: 0 / 0.5576 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4114, allocations: 24.05 kB / 0.5576 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4114, allocations: 4 kB / 0.5576 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.4115, allocations: 8 kB / 0.5577 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4115, allocations: 4 kB / 0.5577 GB, free: 6.184 MB / 398.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.0002582/0.4118, allocations: 233.4 kB / 0.5579 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.4119, allocations: 51.62 kB / 0.5579 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.4123, allocations: 205.7 kB / 0.5581 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.4123, allocations: 4 kB / 0.5581 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4123, allocations: 0 / 0.5581 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4123, allocations: 0 / 0.5581 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.4128, allocations: 324.4 kB / 0.5584 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4128, allocations: 0 / 0.5584 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.4128, allocations: 11.98 kB / 0.5584 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4128, allocations: 0 / 0.5584 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4129, allocations: 4 kB / 0.5585 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4129, allocations: 0 / 0.5585 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4129, allocations: 0 / 0.5585 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.4133, allocations: 229.4 kB / 0.5587 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.4134, allocations: 59.92 kB / 0.5587 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.4135, allocations: 7.984 kB / 0.5587 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.4136, allocations: 4 kB / 0.5587 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4136, allocations: 11.98 kB / 0.5588 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4136, allocations: 11.94 kB / 0.5588 GB, free: 4.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000901/0.4145, allocations: 0.7721 MB / 0.5595 GB, free: 4.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4145, allocations: 0 / 0.5595 GB, free: 4.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.4148, allocations: 47.94 kB / 0.5596 GB, free: 4.152 MB / 398.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.001574/0.4164, allocations: 421 kB / 0.56 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.4167, allocations: 79.89 kB / 0.56 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4167, allocations: 0 / 0.56 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.4169, allocations: 40.48 kB / 0.5601 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.4173, allocations: 83.28 kB / 0.5602 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.4189, allocations: 0.8854 MB / 0.561 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.4195, allocations: 0.8463 MB / 0.5618 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.4196, allocations: 62.94 kB / 0.5619 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.4197, allocations: 31.44 kB / 0.5619 GB, free: 1.824 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4197, allocations: 0 / 0.5619 GB, free: 1.824 MB / 398.1 MB Notification: Performance of Templates: time 0.01016/0.4299, allocations: 3.842 MB / 0.5657 GB, free: 13.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.632216518744826]