Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001813/0.001813, allocations: 76.12 kB / 21.24 MB, free: 0.5469 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.00248/0.00248, allocations: 159.2 kB / 24.5 MB, free: 3.723 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.443/1.443, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.216/0.216, allocations: 34.28 MB / 295.5 MB, free: 14.57 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 75.88 kB / 443.2 MB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3303, allocations: 66 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002709/0.333, allocations: 1.88 MB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3345, allocations: 1.069 MB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.3346, allocations: 4 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.335, allocations: 166 kB / 0.5003 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.3353, allocations: 187 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.3355, allocations: 109.4 kB / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.3358, allocations: 255.3 kB / 0.5009 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3359, allocations: 19.03 kB / 0.5009 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.336, allocations: 110.9 kB / 0.501 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3362, allocations: 143.3 kB / 0.5011 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3362, allocations: 13.31 kB / 0.5011 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3363, allocations: 59.97 kB / 0.5012 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.3364, allocations: 57.11 kB / 0.5013 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.3364, allocations: 62.03 kB / 0.5013 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3367, allocations: 233.1 kB / 0.5015 GB, free: 27.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3367, allocations: 3.156 kB / 0.5015 GB, free: 27.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3367, allocations: 0 / 0.5015 GB, free: 27.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3367, allocations: 0 / 0.5015 GB, free: 27.31 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006277/0.3373, allocations: 476.5 kB / 0.502 GB, free: 26.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3374, allocations: 9.469 kB / 0.502 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.3374, allocations: 37.5 kB / 0.502 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.3377, allocations: 215.7 kB / 0.5022 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3377, allocations: 3.5 kB / 0.5022 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.3377, allocations: 18.2 kB / 0.5023 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3379, allocations: 111.4 kB / 0.5024 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.338, allocations: 3.219 kB / 0.5024 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.338, allocations: 0 / 0.5024 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.338, allocations: 3.188 kB / 0.5024 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.3381, allocations: 50.97 kB / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.3385, allocations: 405 kB / 0.5028 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.3389, allocations: 132 kB / 0.5029 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.85e-05/0.3389, allocations: 45.16 kB / 0.503 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.339, allocations: 3.312 kB / 0.503 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.3391, allocations: 126.8 kB / 0.5031 GB, free: 26.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.3391, allocations: 0 / 0.5031 GB, free: 26.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001156/0.3403, allocations: 0.5011 MB / 0.5036 GB, free: 25.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.3403, allocations: 80.17 kB / 0.5037 GB, free: 25.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.3406, allocations: 384.9 kB / 0.504 GB, free: 25.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3406, allocations: 33.08 kB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.3407, allocations: 146.8 kB / 0.5042 GB, free: 25.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3408, allocations: 79.16 kB / 0.5043 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.3408, allocations: 44.55 kB / 0.5043 GB, free: 25.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.3409, allocations: 342.4 kB / 0.5047 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.341, allocations: 64.66 kB / 0.5047 GB, free: 24.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3411, allocations: 95.97 kB / 0.5048 GB, free: 24.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.3414, allocations: 166.5 kB / 0.505 GB, free: 24.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3414, allocations: 2.969 kB / 0.505 GB, free: 24.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003539/0.3417, allocations: 231.9 kB / 0.5052 GB, free: 24.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3417, allocations: 9.406 kB / 0.5052 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3417, allocations: 8 kB / 0.5052 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3418, allocations: 2.938 kB / 0.5052 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3419, allocations: 43.67 kB / 0.5053 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3419, allocations: 1.172 kB / 0.5053 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.342, allocations: 13.55 kB / 0.5053 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.342, allocations: 5.969 kB / 0.5053 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000105/0.3421, allocations: 157.2 kB / 0.5054 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.3421, allocations: 30.88 kB / 0.5054 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.3426, allocations: 281.5 kB / 0.5057 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3426, allocations: 7.062 kB / 0.5057 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3426, allocations: 0 / 0.5057 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3426, allocations: 3.562 kB / 0.5057 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.3433, allocations: 0.6694 MB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3433, allocations: 3.062 kB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.3434, allocations: 27.91 kB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3434, allocations: 3 kB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3434, allocations: 13.62 kB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3434, allocations: 4 kB / 0.5064 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3434, allocations: 7 kB / 0.5064 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.3438, allocations: 441.6 kB / 0.5069 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.3438, allocations: 24.98 kB / 0.5069 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.3439, allocations: 10.56 kB / 0.5069 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.344, allocations: 2.906 kB / 0.5069 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.3441, allocations: 31.31 kB / 0.5069 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.3441, allocations: 8.875 kB / 0.5069 GB, free: 23.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.3443, allocations: 287.9 kB / 0.5072 GB, free: 23.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3443, allocations: 4 kB / 0.5072 GB, free: 23.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.3447, allocations: 54.52 kB / 0.5073 GB, free: 23.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.00199/0.3466, allocations: 0.5575 MB / 0.5078 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.347, allocations: 153.5 kB / 0.508 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.347, allocations: 0 / 0.508 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3471, allocations: 85.16 kB / 0.508 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.3476, allocations: 68.52 kB / 0.5081 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.3483, allocations: 0.5135 MB / 0.5086 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3484, allocations: 155.7 kB / 0.5088 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3485, allocations: 38.28 kB / 0.5088 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.3485, allocations: 30.81 kB / 0.5088 GB, free: 22.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3485, allocations: 0 / 0.5088 GB, free: 22.65 MB / 446.1 MB Notification: Performance of Templates: time 0.007055/0.3556, allocations: 3.287 MB / 0.512 GB, free: 22.21 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.994469936937094]