Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001589/0.001589, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.00186/0.00186, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2421/0.2421, allocations: 46.94 MB / 361.6 MB, free: 4.27 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.89 kB / 0.4974 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4043, allocations: 66.03 MB / 0.5619 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003615/0.4079, allocations: 1.852 MB / 0.5637 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.4101, allocations: 1.12 MB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.4102, allocations: 3.938 kB / 0.5648 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.4108, allocations: 299.3 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.4113, allocations: 259.2 kB / 0.5654 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.4116, allocations: 107.6 kB / 0.5655 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.412, allocations: 263.2 kB / 0.5657 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.954e-05/0.4121, allocations: 13.8 kB / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.4123, allocations: 135.5 kB / 0.5659 GB, free: 344 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.4126, allocations: 212 kB / 0.5661 GB, free: 132 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.4126, allocations: 8 kB / 0.5661 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.4127, allocations: 47.98 kB / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4129, allocations: 140.4 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.4131, allocations: 146.8 kB / 0.5664 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.4135, allocations: 368.6 kB / 0.5667 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4136, allocations: 3.984 kB / 0.5667 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4136, allocations: 0 / 0.5667 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.4136, allocations: 0 / 0.5667 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.001126/0.4147, allocations: 0.6747 MB / 0.5674 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4147, allocations: 12.03 kB / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.4148, allocations: 52.59 kB / 0.5675 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.4155, allocations: 390.5 kB / 0.5678 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4155, allocations: 4.375 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.4155, allocations: 4.125 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.4158, allocations: 91.34 kB / 0.5679 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4158, allocations: 7.938 kB / 0.5679 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4158, allocations: 4 kB / 0.5679 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4158, allocations: 0 / 0.5679 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.4159, allocations: 31.97 kB / 0.568 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.4163, allocations: 341.5 kB / 0.5683 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.4166, allocations: 105.2 kB / 0.5684 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.4167, allocations: 37.64 kB / 0.5684 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4168, allocations: 4 kB / 0.5684 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.417, allocations: 113 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.417, allocations: 0 / 0.5685 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005204/0.4175, allocations: 205.2 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.4176, allocations: 85.05 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.4188, allocations: 1.022 MB / 0.5698 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4188, allocations: 29.7 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.419, allocations: 236.1 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.4191, allocations: 23.8 kB / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.4192, allocations: 33.7 kB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4194, allocations: 366.8 kB / 0.5705 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.4194, allocations: 27.98 kB / 0.5705 GB, free: 11.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.4196, allocations: 59.41 kB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.4197, allocations: 95.86 kB / 0.5707 GB, free: 11.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4197, allocations: 0 / 0.5707 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003159/0.4201, allocations: 185 kB / 0.5708 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4201, allocations: 4 kB / 0.5708 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4201, allocations: 0 / 0.5708 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4201, allocations: 4 kB / 0.5708 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4202, allocations: 19.98 kB / 0.5709 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.4202, allocations: 8.062 kB / 0.5709 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.4203, allocations: 15.89 kB / 0.5709 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4203, allocations: 4 kB / 0.5709 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.000257/0.4206, allocations: 225.6 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.4207, allocations: 55.67 kB / 0.5712 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.4211, allocations: 193.8 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4211, allocations: 0 / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4211, allocations: 4 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4211, allocations: 4 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.4214, allocations: 316.5 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4214, allocations: 0 / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.4215, allocations: 8.25 kB / 0.5717 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4215, allocations: 4 kB / 0.5717 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.4215, allocations: 11.98 kB / 0.5717 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4215, allocations: 0 / 0.5717 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4215, allocations: 4 kB / 0.5717 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.4219, allocations: 225.3 kB / 0.5719 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.422, allocations: 63.59 kB / 0.5719 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.422, allocations: 4 kB / 0.572 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.4221, allocations: 11.98 kB / 0.572 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.4221, allocations: 7.984 kB / 0.572 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4222, allocations: 4 kB / 0.572 GB, free: 9.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009025/0.4231, allocations: 0.7682 MB / 0.5727 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4231, allocations: 0 / 0.5727 GB, free: 8.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.4233, allocations: 44 kB / 0.5728 GB, free: 8.93 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.001587/0.4249, allocations: 409.7 kB / 0.5732 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.4252, allocations: 87.83 kB / 0.5732 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4252, allocations: 0 / 0.5732 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.4253, allocations: 39.92 kB / 0.5733 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.4258, allocations: 78.34 kB / 0.5734 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.4272, allocations: 0.9183 MB / 0.5743 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.4277, allocations: 0.8464 MB / 0.5751 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.4278, allocations: 31.44 kB / 0.5751 GB, free: 6.629 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4278, allocations: 4 kB / 0.5751 GB, free: 6.625 MB / 414.1 MB Notification: Performance of Templates: time 0.00915/0.437, allocations: 5.119 MB / 0.5801 GB, free: 1.512 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.295354733942077]