Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.00136/0.00136, allocations: 71.75 kB / 21.24 MB, free: 404 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.001508/0.001508, allocations: 167.8 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.442/1.442, allocations: 177.2 MB / 204.9 MB, free: 9.051 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.2208/0.2208, allocations: 34.28 MB / 295.5 MB, free: 14.61 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 71.88 kB / 443.2 MB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3832, allocations: 66 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002801/0.386, allocations: 1.724 MB / 0.499 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3874, allocations: 0.969 MB / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.3875, allocations: 3.938 kB / 0.4999 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.3878, allocations: 47.14 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3881, allocations: 94.89 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.3883, allocations: 80.5 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.3884, allocations: 102.8 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3885, allocations: 3.812 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.3886, allocations: 53.02 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.446e-05/0.3887, allocations: 32.19 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3887, allocations: 3.219 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.3888, allocations: 44.48 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.3889, allocations: 29.62 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.3889, allocations: 21.59 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3891, allocations: 125.1 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3891, allocations: 4 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3891, allocations: 0 / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3891, allocations: 3.188 kB / 0.5005 GB, free: 27.75 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.0004784/0.3896, allocations: 340.8 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3896, allocations: 9.969 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.3897, allocations: 8.203 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.3899, allocations: 156.8 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3899, allocations: 7.906 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3899, allocations: 4.125 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3901, allocations: 53.55 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3901, allocations: 3.156 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3901, allocations: 2.906 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3901, allocations: 0 / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.3902, allocations: 28.36 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.3905, allocations: 232.3 kB / 0.5013 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3906, allocations: 51.72 kB / 0.5014 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.3907, allocations: 25.77 kB / 0.5014 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3907, allocations: 3.938 kB / 0.5014 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.3908, allocations: 70.41 kB / 0.5015 GB, free: 26.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3908, allocations: 0 / 0.5015 GB, free: 26.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005117/0.3913, allocations: 186.5 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3913, allocations: 51.41 kB / 0.5017 GB, free: 26.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3915, allocations: 201.9 kB / 0.5019 GB, free: 26.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3915, allocations: 25.7 kB / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.3915, allocations: 114 kB / 0.502 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3916, allocations: 26.98 kB / 0.5021 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.3916, allocations: 23.48 kB / 0.5021 GB, free: 26.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.3916, allocations: 332.7 kB / 0.5024 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.3917, allocations: 16.97 kB / 0.5024 GB, free: 26.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.3918, allocations: 40.83 kB / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.3919, allocations: 68.47 kB / 0.5025 GB, free: 26.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3919, allocations: 0 / 0.5025 GB, free: 26.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001568/0.392, allocations: 104.3 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.392, allocations: 11.22 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.392, allocations: 3.562 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.392, allocations: 0 / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.3921, allocations: 16.27 kB / 0.5027 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3921, allocations: 0 / 0.5027 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3922, allocations: 6.969 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3922, allocations: 3.094 kB / 0.5027 GB, free: 25.95 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.838e-05/0.3923, allocations: 131.1 kB / 0.5028 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3923, allocations: 18.39 kB / 0.5028 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.3925, allocations: 119.8 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3925, allocations: 7.188 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3925, allocations: 0 / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3925, allocations: 0 / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.3928, allocations: 349 kB / 0.5033 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3928, allocations: 0 / 0.5033 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.3929, allocations: 13.06 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3929, allocations: 2.938 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3929, allocations: 4 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3929, allocations: 3.422 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3929, allocations: 7 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.3931, allocations: 218.2 kB / 0.5035 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.3931, allocations: 10.48 kB / 0.5035 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3931, allocations: 6.969 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.3932, allocations: 0 / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3932, allocations: 10.53 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3932, allocations: 6.25 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.37e-05/0.3933, allocations: 155.6 kB / 0.5037 GB, free: 25.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3933, allocations: 0 / 0.5037 GB, free: 25.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.3936, allocations: 26.69 kB / 0.5037 GB, free: 25.15 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.001823/0.3954, allocations: 491.6 kB / 0.5042 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.3956, allocations: 64.42 kB / 0.5042 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3956, allocations: 2.781 kB / 0.5042 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.3957, allocations: 39.34 kB / 0.5043 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.396, allocations: 31.66 kB / 0.5043 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.3965, allocations: 240.3 kB / 0.5045 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.3965, allocations: 89.11 kB / 0.5046 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.3966, allocations: 18.09 kB / 0.5046 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.3966, allocations: 29.64 kB / 0.5047 GB, free: 24.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3966, allocations: 0 / 0.5047 GB, free: 24.62 MB / 446.1 MB Notification: Performance of Templates: time 0.005298/0.4019, allocations: 1.831 MB / 0.5065 GB, free: 24.38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.9110700180754066]