Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001391/0.001391, 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.001532/0.001532, 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.512/1.512, allocations: 177.2 MB / 204.9 MB, free: 9 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.2084/0.2084, allocations: 32.8 MB / 294.1 MB, free: 4 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [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.002177/0.002177, allocations: 63.91 kB / 440.6 MB, free: 9.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3213, allocations: 65.46 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002959/0.3242, allocations: 1.67 MB / 0.4958 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.3251, allocations: 0.526 MB / 0.4963 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.3252, allocations: 0 / 0.4963 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.3254, allocations: 79.19 kB / 0.4964 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.3257, allocations: 107.2 kB / 0.4965 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.326, allocations: 132.1 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3261, allocations: 85.39 kB / 0.4967 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3262, allocations: 22.25 kB / 0.4967 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.3263, allocations: 37.52 kB / 0.4968 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.3264, allocations: 57.48 kB / 0.4968 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3264, allocations: 10.31 kB / 0.4968 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.3265, allocations: 50.05 kB / 0.4969 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.3266, allocations: 24.72 kB / 0.4969 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.3266, allocations: 29.45 kB / 0.4969 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3268, allocations: 114.3 kB / 0.497 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3268, allocations: 7.938 kB / 0.4971 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3268, allocations: 0 / 0.4971 GB, free: 29.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3268, allocations: 4 kB / 0.4971 GB, free: 29.6 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.0004496/0.3273, allocations: 352.5 kB / 0.4974 GB, free: 29.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3273, allocations: 9.188 kB / 0.4974 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3273, allocations: 10.92 kB / 0.4974 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3275, allocations: 146.1 kB / 0.4975 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.3275, allocations: 384 / 0.4975 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.3275, allocations: 3.344 kB / 0.4976 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3277, allocations: 78.27 kB / 0.4976 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3277, allocations: 2.906 kB / 0.4976 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.3277, allocations: 4 kB / 0.4976 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3277, allocations: 0 / 0.4976 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3278, allocations: 36.09 kB / 0.4977 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.3281, allocations: 255.7 kB / 0.4979 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.3283, allocations: 50.67 kB / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.3284, allocations: 24.59 kB / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3284, allocations: 0 / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.3285, allocations: 37.91 kB / 0.498 GB, free: 28.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3285, allocations: 0 / 0.498 GB, free: 28.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001412/0.3299, allocations: 408.4 kB / 0.4984 GB, free: 28.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.3299, allocations: 51.41 kB / 0.4985 GB, free: 28.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3301, allocations: 210.6 kB / 0.4987 GB, free: 28.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.3301, allocations: 29.7 kB / 0.4987 GB, free: 28.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.3301, allocations: 109.8 kB / 0.4988 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.3302, allocations: 37.17 kB / 0.4988 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3302, allocations: 23.97 kB / 0.4989 GB, free: 28.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.3303, allocations: 327.9 kB / 0.4992 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3304, allocations: 41.39 kB / 0.4992 GB, free: 27.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3305, allocations: 44.3 kB / 0.4992 GB, free: 27.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.3307, allocations: 100.8 kB / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3307, allocations: 0 / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002822/0.331, allocations: 151 kB / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.331, allocations: 6.125 kB / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.331, allocations: 0 / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.331, allocations: 0 / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3311, allocations: 29.23 kB / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3311, allocations: 7.938 kB / 0.4995 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.3312, allocations: 13.75 kB / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3312, allocations: 2.938 kB / 0.4995 GB, free: 27.77 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.14e-05/0.3313, allocations: 126.6 kB / 0.4997 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.3313, allocations: 17.77 kB / 0.4997 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.3317, allocations: 162.4 kB / 0.4998 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3317, allocations: 7.219 kB / 0.4998 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3317, allocations: 3.938 kB / 0.4998 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3317, allocations: 0 / 0.4998 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.3322, allocations: 410.5 kB / 0.5002 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3322, allocations: 4 kB / 0.5002 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.921e-05/0.3323, allocations: 26.16 kB / 0.5003 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3323, allocations: 11.28 kB / 0.5003 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3323, allocations: 0 / 0.5003 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3323, allocations: 2.5 kB / 0.5003 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3323, allocations: 0 / 0.5003 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3326, allocations: 259.3 kB / 0.5005 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.3326, allocations: 15.03 kB / 0.5005 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3327, allocations: 3.219 kB / 0.5005 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.3328, allocations: 13.38 kB / 0.5006 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3328, allocations: 10.73 kB / 0.5006 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3328, allocations: 3.406 kB / 0.5006 GB, free: 27.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.3329, allocations: 169.9 kB / 0.5007 GB, free: 26.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3329, allocations: 0 / 0.5007 GB, free: 26.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.3332, allocations: 24.44 kB / 0.5008 GB, free: 26.91 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.001766/0.3349, allocations: 0.4915 MB / 0.5012 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.3353, allocations: 106.8 kB / 0.5013 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3353, allocations: 0 / 0.5013 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3354, allocations: 63.48 kB / 0.5014 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3358, allocations: 24.5 kB / 0.5014 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.3364, allocations: 302.8 kB / 0.5017 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.352e-05/0.3364, allocations: 102.2 kB / 0.5018 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.3365, allocations: 14.33 kB / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.3365, allocations: 25.75 kB / 0.5018 GB, free: 26.35 MB / 446.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3365, allocations: 0 / 0.5018 GB, free: 26.35 MB / 446.1 MB Notification: Performance of Templates: time 0.004282/0.3408, allocations: 1.554 MB / 0.5034 GB, free: 26.14 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.950545088970102]