Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001804/0.001804, 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.002013/0.002013, 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.466/1.466, 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.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.212/0.212, allocations: 32.8 MB / 294.1 MB, free: 12 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [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.003608/0.003608, allocations: 63.91 kB / 440.6 MB, free: 9.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3866, allocations: 65.45 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00282/0.3894, allocations: 1.684 MB / 0.4958 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008656/0.3903, allocations: 0.5566 MB / 0.4964 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.3904, allocations: 3.156 kB / 0.4964 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.3906, allocations: 73.03 kB / 0.4964 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.3909, allocations: 108.8 kB / 0.4965 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.3913, allocations: 177.7 kB / 0.4967 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3914, allocations: 90.31 kB / 0.4968 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.3915, allocations: 18.62 kB / 0.4968 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.3916, allocations: 42.34 kB / 0.4969 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3917, allocations: 65.7 kB / 0.4969 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.3917, allocations: 6.125 kB / 0.4969 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.3918, allocations: 48.31 kB / 0.497 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.3918, allocations: 31.62 kB / 0.497 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.3919, allocations: 21.91 kB / 0.497 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.392, allocations: 132.4 kB / 0.4971 GB, free: 29.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3921, allocations: 0 / 0.4971 GB, free: 29.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3921, allocations: 0 / 0.4971 GB, free: 29.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3921, allocations: 0 / 0.4971 GB, free: 29.55 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004163/0.3925, allocations: 353.2 kB / 0.4975 GB, free: 29.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3925, allocations: 9.406 kB / 0.4975 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.3926, allocations: 11.11 kB / 0.4975 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3927, allocations: 145.7 kB / 0.4976 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3927, allocations: 11.33 kB / 0.4977 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3927, allocations: 7.469 kB / 0.4977 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3929, allocations: 74.89 kB / 0.4977 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3929, allocations: 0 / 0.4977 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3929, allocations: 0 / 0.4977 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3929, allocations: 3.219 kB / 0.4977 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.393, allocations: 46.98 kB / 0.4978 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.3934, allocations: 265.1 kB / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3936, allocations: 60.62 kB / 0.4981 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.3937, allocations: 24.34 kB / 0.4981 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3937, allocations: 0 / 0.4981 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.3937, allocations: 33.56 kB / 0.4981 GB, free: 28.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.3937, allocations: 4.094 kB / 0.4981 GB, free: 28.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.00135/0.395, allocations: 428.7 kB / 0.4986 GB, free: 28.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.3951, allocations: 58.41 kB / 0.4986 GB, free: 28.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3952, allocations: 214.8 kB / 0.4988 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3952, allocations: 28.77 kB / 0.4988 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.3953, allocations: 106.1 kB / 0.4989 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.3953, allocations: 42.3 kB / 0.499 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.3954, allocations: 30.67 kB / 0.499 GB, free: 28.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.3954, allocations: 321.5 kB / 0.4993 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3956, allocations: 55 kB / 0.4994 GB, free: 27.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3957, allocations: 60.88 kB / 0.4994 GB, free: 27.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3959, allocations: 129.5 kB / 0.4996 GB, free: 27.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3959, allocations: 3.938 kB / 0.4996 GB, free: 27.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003024/0.3962, allocations: 169.7 kB / 0.4997 GB, free: 27.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3962, allocations: 3.125 kB / 0.4997 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3962, allocations: 0 / 0.4997 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3963, allocations: 3.125 kB / 0.4997 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3964, allocations: 25.91 kB / 0.4998 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3964, allocations: 3.938 kB / 0.4998 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.3964, allocations: 13.81 kB / 0.4998 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3964, allocations: 3.125 kB / 0.4998 GB, free: 27.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.03e-05/0.3965, allocations: 134.7 kB / 0.4999 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.3966, allocations: 14.28 kB / 0.4999 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.3969, allocations: 188.5 kB / 0.5001 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3969, allocations: 0 / 0.5001 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3969, allocations: 8.5 kB / 0.5001 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3969, allocations: 3.094 kB / 0.5001 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.3975, allocations: 444.6 kB / 0.5005 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3975, allocations: 3.938 kB / 0.5005 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3976, allocations: 33.17 kB / 0.5006 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3976, allocations: 3.938 kB / 0.5006 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3976, allocations: 7.25 kB / 0.5006 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3976, allocations: 3.938 kB / 0.5006 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3976, allocations: 0 / 0.5006 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.398, allocations: 268.4 kB / 0.5008 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.398, allocations: 14.62 kB / 0.5008 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.398, allocations: 7.062 kB / 0.5009 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.3981, allocations: 9.844 kB / 0.5009 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3981, allocations: 14.33 kB / 0.5009 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.3981, allocations: 7.219 kB / 0.5009 GB, free: 26.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.841e-05/0.3982, allocations: 164.5 kB / 0.501 GB, free: 26.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3982, allocations: 0 / 0.501 GB, free: 26.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3985, allocations: 26.19 kB / 0.5011 GB, free: 26.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001777/0.4003, allocations: 0.4971 MB / 0.5016 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.4006, allocations: 120.4 kB / 0.5017 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4006, allocations: 0 / 0.5017 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.4007, allocations: 71.2 kB / 0.5017 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.4011, allocations: 32.17 kB / 0.5018 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.4016, allocations: 329.8 kB / 0.5021 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.457e-05/0.4017, allocations: 113.2 kB / 0.5022 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.582e-05/0.4018, allocations: 34.53 kB / 0.5022 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.4019, allocations: 15.19 kB / 0.5022 GB, free: 26.21 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4019, allocations: 3.938 kB / 0.5022 GB, free: 26.21 MB / 446.1 MB Notification: Performance of Templates: time 0.004349/0.4062, allocations: 1.618 MB / 0.5038 GB, free: 26 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.087342774029821]