Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002275/0.002275, allocations: 214.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4029/0.4029, allocations: 46.93 MB / 360.8 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 63.89 kB / 0.4967 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3961, allocations: 66.03 MB / 0.5612 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003986/0.4001, allocations: 1.838 MB / 0.563 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.4023, allocations: 1.126 MB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.4024, allocations: 3.938 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.4031, allocations: 299.3 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.4036, allocations: 251.2 kB / 0.5646 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.404, allocations: 115.6 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.4044, allocations: 263.2 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.4044, allocations: 13.8 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.4047, allocations: 135.5 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.405, allocations: 211.9 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.405, allocations: 4 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.4052, allocations: 47.98 kB / 0.5654 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.4055, allocations: 140.6 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.4057, allocations: 146.8 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.4063, allocations: 372.6 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4063, allocations: 4 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4063, allocations: 0 / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.4063, allocations: 0 / 0.566 GB, free: 15.43 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.001374/0.4077, allocations: 0.6811 MB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4078, allocations: 8.031 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.4079, allocations: 52.61 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.4087, allocations: 390.5 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4087, allocations: 4.359 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.4088, allocations: 16.12 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.409, allocations: 83.31 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.409, allocations: 0 / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.409, allocations: 7.984 kB / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.409, allocations: 4 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.4092, allocations: 23.98 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.4098, allocations: 349.5 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.4101, allocations: 101.2 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4102, allocations: 41.62 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.4102, allocations: 8 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.4104, allocations: 109 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.4104, allocations: 0 / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004968/0.4109, allocations: 201.2 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.411, allocations: 81.11 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.4123, allocations: 1.026 MB / 0.5691 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.4123, allocations: 29.7 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.4125, allocations: 232.1 kB / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.4126, allocations: 31.78 kB / 0.5693 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.4126, allocations: 25.72 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.4129, allocations: 362.8 kB / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.413, allocations: 27.98 kB / 0.5697 GB, free: 11.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4131, allocations: 67.78 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.4133, allocations: 95.3 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4133, allocations: 0 / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003436/0.4136, allocations: 185 kB / 0.5701 GB, free: 10.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4137, allocations: 8 kB / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4137, allocations: 0 / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4137, allocations: 0 / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.4138, allocations: 23.98 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4138, allocations: 0 / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.4139, allocations: 15.89 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.4139, allocations: 7.984 kB / 0.5701 GB, free: 10.94 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.0002815/0.4142, allocations: 237.6 kB / 0.5704 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.4143, allocations: 47.67 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.4147, allocations: 193.8 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4147, allocations: 4 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4147, allocations: 0 / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4147, allocations: 256 / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.415, allocations: 324.5 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4151, allocations: 4 kB / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.4151, allocations: 11.98 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4151, allocations: 0 / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4151, allocations: 8 kB / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4151, allocations: 0 / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4151, allocations: 0 / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.4155, allocations: 225.3 kB / 0.5711 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.4156, allocations: 67.59 kB / 0.5712 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.4157, allocations: 4 kB / 0.5712 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.4157, allocations: 8 kB / 0.5712 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.4158, allocations: 7.984 kB / 0.5712 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.4158, allocations: 15.98 kB / 0.5712 GB, free: 9.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008955/0.4167, allocations: 0.7565 MB / 0.572 GB, free: 8.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4167, allocations: 4 kB / 0.572 GB, free: 8.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.417, allocations: 40 kB / 0.572 GB, free: 8.922 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.001572/0.4186, allocations: 401.5 kB / 0.5724 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.4188, allocations: 91.83 kB / 0.5725 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4188, allocations: 0 / 0.5725 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4189, allocations: 35.97 kB / 0.5725 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.4194, allocations: 82.25 kB / 0.5726 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.4207, allocations: 0.8738 MB / 0.5735 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.4213, allocations: 0.8465 MB / 0.5743 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.4214, allocations: 54.95 kB / 0.5743 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.4215, allocations: 31.42 kB / 0.5744 GB, free: 6.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4215, allocations: 0 / 0.5744 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Templates: time 0.009142/0.4306, allocations: 3.841 MB / 0.5781 GB, free: 2.797 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.790644774911925]