Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001287/0.001287, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001469/0.001469, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.433/1.433, 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.2146/0.2146, allocations: 34.27 MB / 295.5 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 75.88 kB / 443.2 MB, free: 6.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3366, allocations: 66 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002465/0.339, allocations: 1.718 MB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3404, allocations: 0.9766 MB / 0.4999 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.3404, allocations: 0 / 0.4999 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.3406, allocations: 35.97 kB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3408, allocations: 98.44 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.3409, allocations: 79.58 kB / 0.5001 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.341, allocations: 111 kB / 0.5002 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.3411, allocations: 7.688 kB / 0.5002 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.3411, allocations: 46.92 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.3412, allocations: 29.33 kB / 0.5003 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3412, allocations: 6.312 kB / 0.5003 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.941e-05/0.3413, allocations: 41.17 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.3413, allocations: 28.97 kB / 0.5004 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.3414, allocations: 26.16 kB / 0.5004 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3415, allocations: 120.7 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3415, allocations: 0 / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.3415, allocations: 0 / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.3415, allocations: 0 / 0.5005 GB, free: 27.71 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003344/0.3419, allocations: 352.3 kB / 0.5009 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.283e-05/0.3419, allocations: 9.75 kB / 0.5009 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.3419, allocations: 11.64 kB / 0.5009 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3421, allocations: 154.2 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3421, allocations: 4.312 kB / 0.501 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3421, allocations: 11.59 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.3422, allocations: 56.84 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3422, allocations: 0 / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.3422, allocations: 0 / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-06/0.3422, allocations: 0 / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.3423, allocations: 23.45 kB / 0.5011 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.3425, allocations: 234.8 kB / 0.5014 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3427, allocations: 59.23 kB / 0.5014 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.3427, allocations: 25.31 kB / 0.5014 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.3427, allocations: 0 / 0.5014 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.3428, allocations: 66.56 kB / 0.5015 GB, free: 26.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.3428, allocations: 0 / 0.5015 GB, free: 26.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000432/0.3433, allocations: 193.8 kB / 0.5017 GB, free: 26.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.3433, allocations: 54.62 kB / 0.5017 GB, free: 26.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3434, allocations: 198.9 kB / 0.5019 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.3434, allocations: 28.92 kB / 0.5019 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.3435, allocations: 106.9 kB / 0.5021 GB, free: 26.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.3435, allocations: 26.48 kB / 0.5021 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.3435, allocations: 23.22 kB / 0.5021 GB, free: 26.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.3436, allocations: 325.4 kB / 0.5024 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.447e-05/0.3436, allocations: 25.97 kB / 0.5024 GB, free: 26.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.712e-05/0.3437, allocations: 35.19 kB / 0.5025 GB, free: 26.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3438, allocations: 69.64 kB / 0.5025 GB, free: 25.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3438, allocations: 0 / 0.5025 GB, free: 25.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001601/0.344, allocations: 105.3 kB / 0.5026 GB, free: 25.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.344, allocations: 6.547 kB / 0.5026 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.344, allocations: 384 / 0.5026 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.344, allocations: 3.094 kB / 0.5026 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.344, allocations: 20.94 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.344, allocations: 0 / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.3441, allocations: 10.44 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3441, allocations: 7.094 kB / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 6.565e-05/0.3442, allocations: 135.3 kB / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.3442, allocations: 11.16 kB / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.3444, allocations: 123.6 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3444, allocations: 3.281 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3444, allocations: 3.188 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3444, allocations: 0 / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.3447, allocations: 343.3 kB / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3447, allocations: 3.469 kB / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.3448, allocations: 13.44 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3448, allocations: 3.219 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3448, allocations: 0 / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3448, allocations: 0 / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3448, allocations: 7.281 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.345, allocations: 217.7 kB / 0.5035 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.345, allocations: 7.266 kB / 0.5035 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.345, allocations: 3.375 kB / 0.5035 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.3451, allocations: 7.062 kB / 0.5035 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.3451, allocations: 10.86 kB / 0.5035 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3451, allocations: 7.281 kB / 0.5035 GB, free: 25.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.3452, allocations: 153 kB / 0.5037 GB, free: 25.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3452, allocations: 0 / 0.5037 GB, free: 25.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3455, allocations: 29.61 kB / 0.5037 GB, free: 25.11 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001713/0.3472, allocations: 0.4937 MB / 0.5042 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3473, allocations: 64.34 kB / 0.5043 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.3473, allocations: 0 / 0.5043 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.688e-05/0.3474, allocations: 33.2 kB / 0.5043 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3477, allocations: 26.28 kB / 0.5043 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.348, allocations: 242.7 kB / 0.5045 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.744e-05/0.3481, allocations: 94.17 kB / 0.5046 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.3481, allocations: 17.5 kB / 0.5047 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.3481, allocations: 16.69 kB / 0.5047 GB, free: 24.58 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3481, allocations: 0 / 0.5047 GB, free: 24.58 MB / 446.1 MB Notification: Performance of Templates: time 0.003968/0.3521, allocations: 1.837 MB / 0.5065 GB, free: 24.33 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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: 4.826142831938341]