Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001908/0.001908, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00231/0.00231, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 32.8 MB / 294.1 MB, free: 64 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 59.91 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 65.44 MB / 0.4942 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002681/0.3361, allocations: 1.716 MB / 0.4959 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.3386, allocations: 1.668 MB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3387, allocations: 3.938 kB / 0.4975 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.3391, allocations: 35.52 kB / 0.4976 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.3396, allocations: 103.6 kB / 0.4977 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3398, allocations: 75.86 kB / 0.4977 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.3401, allocations: 116.4 kB / 0.4978 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3402, allocations: 3.438 kB / 0.4978 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.567e-05/0.3403, allocations: 48.42 kB / 0.4979 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3405, allocations: 41.48 kB / 0.4979 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3405, allocations: 6 kB / 0.4979 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.3407, allocations: 105.6 kB / 0.498 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.3408, allocations: 21.52 kB / 0.498 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.3408, allocations: 25.59 kB / 0.4981 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3411, allocations: 166.7 kB / 0.4982 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3411, allocations: 0 / 0.4982 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.3411, allocations: 3.062 kB / 0.4982 GB, free: 28.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.3411, allocations: 7.938 kB / 0.4982 GB, free: 28.79 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.0005991/0.3417, allocations: 346.2 kB / 0.4986 GB, free: 28.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3418, allocations: 9.188 kB / 0.4986 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.3418, allocations: 11.78 kB / 0.4986 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3421, allocations: 155.3 kB / 0.4987 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3422, allocations: 10.81 kB / 0.4988 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3422, allocations: 4 kB / 0.4988 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3424, allocations: 97.59 kB / 0.4988 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3424, allocations: 3.938 kB / 0.4989 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3424, allocations: 7.938 kB / 0.4989 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3424, allocations: 0 / 0.4989 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.3425, allocations: 23.3 kB / 0.4989 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.3428, allocations: 227.8 kB / 0.4991 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.343, allocations: 64.94 kB / 0.4992 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.3431, allocations: 25.41 kB / 0.4992 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3431, allocations: 0 / 0.4992 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.3432, allocations: 69.06 kB / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3432, allocations: 0 / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000528/0.3438, allocations: 191.4 kB / 0.4994 GB, free: 27.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.3438, allocations: 77.11 kB / 0.4995 GB, free: 27.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3439, allocations: 170.5 kB / 0.4997 GB, free: 27.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3439, allocations: 32.45 kB / 0.4997 GB, free: 27.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.344, allocations: 95.3 kB / 0.4998 GB, free: 27.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.344, allocations: 26.12 kB / 0.4998 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.344, allocations: 27.5 kB / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.3441, allocations: 321.3 kB / 0.5001 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.3441, allocations: 20.42 kB / 0.5002 GB, free: 27.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.3442, allocations: 79.08 kB / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.3443, allocations: 61.94 kB / 0.5003 GB, free: 26.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3443, allocations: 0 / 0.5003 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001604/0.3445, allocations: 97.81 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3445, allocations: 6.5 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3445, allocations: 0 / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3445, allocations: 3.281 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.3446, allocations: 12.03 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3446, allocations: 3.469 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.3446, allocations: 15.06 kB / 0.5004 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3447, allocations: 3.125 kB / 0.5004 GB, free: 26.88 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.79e-05/0.3447, allocations: 120.7 kB / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3447, allocations: 10.23 kB / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.345, allocations: 124 kB / 0.5007 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.345, allocations: 0 / 0.5007 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.345, allocations: 3.938 kB / 0.5007 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.345, allocations: 7.125 kB / 0.5007 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.3454, allocations: 343.3 kB / 0.501 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3454, allocations: 15.16 kB / 0.501 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.3454, allocations: 9.75 kB / 0.501 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3454, allocations: 3.156 kB / 0.501 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3454, allocations: 3.938 kB / 0.501 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3454, allocations: 3.562 kB / 0.5011 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3454, allocations: 0 / 0.5011 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3456, allocations: 217.5 kB / 0.5013 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.3456, allocations: 14.78 kB / 0.5013 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3457, allocations: 7.031 kB / 0.5013 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.3457, allocations: 3.422 kB / 0.5013 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.3458, allocations: 17.78 kB / 0.5013 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3458, allocations: 3.25 kB / 0.5013 GB, free: 26.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.38e-05/0.3459, allocations: 126.7 kB / 0.5014 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3459, allocations: 0 / 0.5014 GB, free: 26.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.3462, allocations: 50.92 kB / 0.5015 GB, free: 26.08 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.0021/0.3483, allocations: 0.5904 MB / 0.5021 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3485, allocations: 65.41 kB / 0.5021 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3485, allocations: 0 / 0.5021 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.996e-05/0.3486, allocations: 27.22 kB / 0.5021 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3489, allocations: 30.48 kB / 0.5022 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.3493, allocations: 206.6 kB / 0.5024 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.889e-05/0.3494, allocations: 88.59 kB / 0.5024 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.3494, allocations: 17.7 kB / 0.5025 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.3495, allocations: 25.33 kB / 0.5025 GB, free: 25.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3495, allocations: 0 / 0.5025 GB, free: 25.54 MB / 446.1 MB Notification: Performance of Templates: time 0.005108/0.3546, allocations: 2.486 MB / 0.5049 GB, free: 25.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.971049825078808]