Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001318/0.001318, allocations: 73.7 kB / 21.24 MB, free: 0.543 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.001373/0.001373, allocations: 159.4 kB / 24.5 MB, free: 3.719 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.618/1.618, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.2188/0.2188, allocations: 34.28 MB / 295.5 MB, free: 14.54 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 67.89 kB / 443.2 MB, free: 6.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4019, allocations: 66.01 MB / 0.4973 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003028/0.405, allocations: 1.792 MB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.4073, allocations: 1.736 MB / 0.5007 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.793e-05/0.4074, allocations: 0 / 0.5007 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.4077, allocations: 57.88 kB / 0.5008 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.4081, allocations: 139.2 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.4083, allocations: 107.8 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.4086, allocations: 211.1 kB / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.244e-05/0.4086, allocations: 8.031 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.4087, allocations: 85.06 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.4089, allocations: 81.88 kB / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.4089, allocations: 9.562 kB / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.4091, allocations: 104.9 kB / 0.5015 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.4092, allocations: 39.48 kB / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.4093, allocations: 54.45 kB / 0.5016 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.4096, allocations: 227 kB / 0.5018 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4096, allocations: 3.938 kB / 0.5018 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4096, allocations: 0 / 0.5018 GB, free: 26.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4096, allocations: 0 / 0.5018 GB, free: 26.93 MB / 446.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.0005805/0.4102, allocations: 430.8 kB / 0.5022 GB, free: 26.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.4102, allocations: 17.41 kB / 0.5022 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.4103, allocations: 15.34 kB / 0.5023 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.4106, allocations: 188.5 kB / 0.5024 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4106, allocations: 384 / 0.5024 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.4106, allocations: 7.344 kB / 0.5024 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.4108, allocations: 154.8 kB / 0.5026 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4108, allocations: 0 / 0.5026 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4108, allocations: 7 kB / 0.5026 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4108, allocations: 0 / 0.5026 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.4109, allocations: 37.72 kB / 0.5026 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.4111, allocations: 156.9 kB / 0.5028 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.4113, allocations: 104.9 kB / 0.5029 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.4114, allocations: 44.38 kB / 0.5029 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4114, allocations: 3.062 kB / 0.5029 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.4116, allocations: 114.9 kB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.4116, allocations: 4 kB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004428/0.4121, allocations: 175.2 kB / 0.5032 GB, free: 25.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.4121, allocations: 131.4 kB / 0.5033 GB, free: 25.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.4124, allocations: 249.1 kB / 0.5036 GB, free: 25.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.4124, allocations: 25.7 kB / 0.5036 GB, free: 25.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.4124, allocations: 124.5 kB / 0.5037 GB, free: 25.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.4125, allocations: 26.89 kB / 0.5037 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.4125, allocations: 30.69 kB / 0.5038 GB, free: 25.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.4126, allocations: 332.2 kB / 0.5041 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.4126, allocations: 31.41 kB / 0.5041 GB, free: 24.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.4128, allocations: 129 kB / 0.5042 GB, free: 24.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4129, allocations: 89.59 kB / 0.5043 GB, free: 24.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4129, allocations: 4 kB / 0.5043 GB, free: 24.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002598/0.4132, allocations: 151.6 kB / 0.5045 GB, free: 24.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4132, allocations: 5.688 kB / 0.5045 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4132, allocations: 96 / 0.5045 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4132, allocations: 6.812 kB / 0.5045 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4133, allocations: 25.31 kB / 0.5045 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4133, allocations: 3.984 kB / 0.5045 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.4134, allocations: 18.45 kB / 0.5045 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4134, allocations: 7.156 kB / 0.5045 GB, free: 24.68 MB / 446.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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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 9.251e-05/0.4135, allocations: 134.6 kB / 0.5047 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.4135, allocations: 20.5 kB / 0.5047 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.4139, allocations: 163.5 kB / 0.5048 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4139, allocations: 4 kB / 0.5048 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4139, allocations: 3.125 kB / 0.5049 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4139, allocations: 0 / 0.5049 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.414, allocations: 162.5 kB / 0.505 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.414, allocations: 0 / 0.505 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.414, allocations: 9.062 kB / 0.505 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.414, allocations: 3.938 kB / 0.505 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.414, allocations: 10.09 kB / 0.505 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.414, allocations: 0 / 0.505 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4141, allocations: 256 / 0.505 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.4143, allocations: 190.7 kB / 0.5052 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.4143, allocations: 26.56 kB / 0.5052 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.4144, allocations: 7.094 kB / 0.5052 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.4144, allocations: 7.094 kB / 0.5053 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.4145, allocations: 13.34 kB / 0.5053 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.4145, allocations: 2.812 kB / 0.5053 GB, free: 24.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.4147, allocations: 185.8 kB / 0.5054 GB, free: 24.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4147, allocations: 0 / 0.5054 GB, free: 24.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.4149, allocations: 53.77 kB / 0.5055 GB, free: 24.04 MB / 446.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001817/0.4168, allocations: 0.5318 MB / 0.506 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.417, allocations: 91.77 kB / 0.5061 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.417, allocations: 0 / 0.5061 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.4172, allocations: 41.59 kB / 0.5061 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.4175, allocations: 61.95 kB / 0.5062 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.4181, allocations: 296.5 kB / 0.5065 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.746e-05/0.4182, allocations: 110.3 kB / 0.5066 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.4183, allocations: 30.88 kB / 0.5066 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.4183, allocations: 34.38 kB / 0.5066 GB, free: 23.45 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4183, allocations: 0 / 0.5066 GB, free: 23.45 MB / 446.1 MB Notification: Performance of Templates: time 0.007026/0.4254, allocations: 3.405 MB / 0.51 GB, free: 22.99 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.333294013980776]