Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001512/0.001512, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001382/0.001382, allocations: 186.5 kB / 24.51 MB, free: 4.035 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.577/1.577, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2625/0.2625, allocations: 44.92 MB / 353.5 MB, free: 11.81 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003153/0.003153, allocations: 75.89 kB / 497.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4928, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004664/0.4975, allocations: 1.823 MB / 0.5506 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.4997, allocations: 0.9829 MB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.4998, allocations: 5.438 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.5005, allocations: 294.9 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.5011, allocations: 209.5 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.5016, allocations: 174.1 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.5021, allocations: 242.7 kB / 0.5525 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.5022, allocations: 6.438 kB / 0.5525 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.5025, allocations: 137.7 kB / 0.5526 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.5029, allocations: 210.8 kB / 0.5528 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.503, allocations: 7.031 kB / 0.5528 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.5031, allocations: 41.23 kB / 0.5529 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.5034, allocations: 138.2 kB / 0.553 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.5036, allocations: 145.3 kB / 0.5531 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.5043, allocations: 365.3 kB / 0.5535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5043, allocations: 0 / 0.5535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5043, allocations: 0 / 0.5535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.5043, allocations: 5 kB / 0.5535 GB, free: 9.84 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.00147/0.5058, allocations: 0.6583 MB / 0.5541 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/0.5059, allocations: 10.17 kB / 0.5542 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.506, allocations: 49.39 kB / 0.5542 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.5068, allocations: 388.7 kB / 0.5546 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.5068, allocations: 5.406 kB / 0.5546 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.5068, allocations: 8.094 kB / 0.5546 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.5071, allocations: 83.55 kB / 0.5547 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5072, allocations: 0 / 0.5547 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.5072, allocations: 5.438 kB / 0.5547 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5072, allocations: 1.281 kB / 0.5547 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.5073, allocations: 31.56 kB / 0.5547 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.5078, allocations: 353.4 kB / 0.555 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.5082, allocations: 98.31 kB / 0.5551 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.5083, allocations: 43.73 kB / 0.5552 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.5083, allocations: 1.344 kB / 0.5552 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.5086, allocations: 108.9 kB / 0.5553 GB, free: 8.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5086, allocations: 0 / 0.5553 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006096/0.5092, allocations: 199.8 kB / 0.5555 GB, free: 8.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/0.5093, allocations: 82.58 kB / 0.5555 GB, free: 8.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.5106, allocations: 1.005 MB / 0.5565 GB, free: 7.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.5106, allocations: 29.7 kB / 0.5566 GB, free: 7.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.5108, allocations: 228 kB / 0.5568 GB, free: 7.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/0.5109, allocations: 31.8 kB / 0.5568 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.511, allocations: 29.7 kB / 0.5568 GB, free: 7.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.5112, allocations: 362.8 kB / 0.5572 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.5113, allocations: 35.92 kB / 0.5572 GB, free: 6.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.5114, allocations: 55.42 kB / 0.5573 GB, free: 6.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.5116, allocations: 91.84 kB / 0.5574 GB, free: 6.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5116, allocations: 4 kB / 0.5574 GB, free: 6.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003361/0.5119, allocations: 169.2 kB / 0.5575 GB, free: 6.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.512, allocations: 4 kB / 0.5575 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.512, allocations: 7.984 kB / 0.5575 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.512, allocations: 0 / 0.5575 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.5121, allocations: 20 kB / 0.5575 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5121, allocations: 7.922 kB / 0.5576 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.5122, allocations: 11.89 kB / 0.5576 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.5122, allocations: 8 kB / 0.5576 GB, free: 6.246 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.000279/0.5125, allocations: 229.6 kB / 0.5578 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.5126, allocations: 51.67 kB / 0.5578 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.513, allocations: 193.5 kB / 0.558 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.513, allocations: 0 / 0.558 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5131, allocations: 0 / 0.558 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5131, allocations: 4 kB / 0.558 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.5135, allocations: 312.4 kB / 0.5583 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.5135, allocations: 11.94 kB / 0.5583 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.5135, allocations: 11.98 kB / 0.5584 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5135, allocations: 256 / 0.5584 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5135, allocations: 8 kB / 0.5584 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.5135, allocations: 7.938 kB / 0.5584 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5135, allocations: 0 / 0.5584 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.5139, allocations: 213.5 kB / 0.5586 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.5141, allocations: 67.66 kB / 0.5586 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.5141, allocations: 0 / 0.5586 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.5142, allocations: 8 kB / 0.5586 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.5143, allocations: 7.984 kB / 0.5587 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.5143, allocations: 7.984 kB / 0.5587 GB, free: 5.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009175/0.5152, allocations: 0.7487 MB / 0.5594 GB, free: 4.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5152, allocations: 0 / 0.5594 GB, free: 4.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.5155, allocations: 47.92 kB / 0.5594 GB, free: 4.262 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.001692/0.5172, allocations: 434.8 kB / 0.5598 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.5175, allocations: 75.89 kB / 0.5599 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5175, allocations: 0 / 0.5599 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.5176, allocations: 43.92 kB / 0.56 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.5181, allocations: 69.66 kB / 0.56 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.5196, allocations: 0.8544 MB / 0.5609 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.5201, allocations: 0.8385 MB / 0.5617 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.5203, allocations: 54.94 kB / 0.5617 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.5203, allocations: 35.42 kB / 0.5618 GB, free: 1.973 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5203, allocations: 4 kB / 0.5618 GB, free: 1.969 MB / 398.1 MB Notification: Performance of Templates: time 0.009553/0.5299, allocations: 3.807 MB / 0.5655 GB, free: 14.18 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.768970143981278]