Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.00172/0.00172, allocations: 71.75 kB / 21.24 MB, free: 0.5391 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.001604/0.001604, allocations: 161.1 kB / 24.49 MB, free: 3.707 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.578/1.578, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.2088/0.2088, allocations: 32.8 MB / 294.1 MB, free: 28 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [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.002251/0.002251, allocations: 67.89 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3098, allocations: 65.43 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002613/0.3124, allocations: 1.665 MB / 0.4958 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.3132, allocations: 0.5656 MB / 0.4963 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.3132, allocations: 0 / 0.4963 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.3137, allocations: 460.1 kB / 0.4968 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.314, allocations: 293.6 kB / 0.497 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3144, allocations: 176 kB / 0.4972 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.3145, allocations: 185 kB / 0.4974 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.3146, allocations: 13.88 kB / 0.4974 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/0.3147, allocations: 113.5 kB / 0.4975 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3149, allocations: 245.9 kB / 0.4977 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3149, allocations: 3.125 kB / 0.4978 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.315, allocations: 34.25 kB / 0.4978 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.3151, allocations: 98.11 kB / 0.4979 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.3151, allocations: 71.56 kB / 0.4979 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3154, allocations: 269.1 kB / 0.4982 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3154, allocations: 0 / 0.4982 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3154, allocations: 0 / 0.4982 GB, free: 29.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3154, allocations: 0 / 0.4982 GB, free: 29.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005971/0.316, allocations: 0.5831 MB / 0.4988 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.316, allocations: 9.906 kB / 0.4988 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.3161, allocations: 46.86 kB / 0.4988 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3163, allocations: 254.1 kB / 0.4991 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3163, allocations: 4.375 kB / 0.4991 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3163, allocations: 3.625 kB / 0.4991 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3165, allocations: 67.59 kB / 0.4991 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3165, allocations: 3.938 kB / 0.4991 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3165, allocations: 4 kB / 0.4991 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3165, allocations: 0 / 0.4991 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3166, allocations: 36.19 kB / 0.4992 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.317, allocations: 347.2 kB / 0.4995 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3171, allocations: 48.3 kB / 0.4996 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.3172, allocations: 24.52 kB / 0.4996 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3172, allocations: 0 / 0.4996 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.3172, allocations: 33.69 kB / 0.4996 GB, free: 28.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3172, allocations: 0 / 0.4996 GB, free: 28.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008072/0.318, allocations: 324.9 kB / 0.4999 GB, free: 28.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.3181, allocations: 54.69 kB / 0.5 GB, free: 28.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.3187, allocations: 0.8641 MB / 0.5008 GB, free: 27.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3187, allocations: 35.88 kB / 0.5009 GB, free: 27.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3189, allocations: 213.3 kB / 0.5011 GB, free: 27.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3189, allocations: 22.73 kB / 0.5011 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.3189, allocations: 23.27 kB / 0.5011 GB, free: 27.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.319, allocations: 360.7 kB / 0.5014 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3191, allocations: 41.39 kB / 0.5015 GB, free: 27.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3192, allocations: 44.12 kB / 0.5015 GB, free: 27.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.3194, allocations: 82.59 kB / 0.5016 GB, free: 27.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3194, allocations: 0 / 0.5016 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002904/0.3197, allocations: 172.2 kB / 0.5018 GB, free: 27.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3198, allocations: 6.531 kB / 0.5018 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3198, allocations: 0 / 0.5018 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3198, allocations: 0 / 0.5018 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3199, allocations: 22.55 kB / 0.5018 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3199, allocations: 0 / 0.5018 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.32, allocations: 8.922 kB / 0.5018 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.32, allocations: 2.844 kB / 0.5018 GB, free: 27.07 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 (7): * Single equations (assignments): 7 * 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.0001414/0.3201, allocations: 224.1 kB / 0.502 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.3202, allocations: 48.91 kB / 0.5021 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.3205, allocations: 185.4 kB / 0.5022 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3205, allocations: 2.969 kB / 0.5023 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3205, allocations: 0 / 0.5023 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3205, allocations: 0 / 0.5023 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.3211, allocations: 462.6 kB / 0.5027 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3211, allocations: 0 / 0.5027 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.3212, allocations: 19.34 kB / 0.5027 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3212, allocations: 3.438 kB / 0.5027 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3212, allocations: 288 / 0.5027 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3212, allocations: 0 / 0.5027 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3212, allocations: 11.81 kB / 0.5027 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3215, allocations: 259.9 kB / 0.503 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.3215, allocations: 37.48 kB / 0.503 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.3215, allocations: 3.188 kB / 0.503 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3216, allocations: 6.641 kB / 0.503 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.3217, allocations: 14.62 kB / 0.503 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3217, allocations: 3.188 kB / 0.503 GB, free: 26.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004208/0.3221, allocations: 0.6475 MB / 0.5037 GB, free: 26.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3221, allocations: 2.844 kB / 0.5037 GB, free: 26.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3224, allocations: 27.2 kB / 0.5037 GB, free: 26.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001523/0.3239, allocations: 444.9 kB / 0.5041 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.3242, allocations: 89.08 kB / 0.5042 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3242, allocations: 3.938 kB / 0.5042 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3243, allocations: 46.12 kB / 0.5043 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3247, allocations: 34.91 kB / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.3256, allocations: 0.8364 MB / 0.5051 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3258, allocations: 225.2 kB / 0.5053 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.3258, allocations: 20.67 kB / 0.5053 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.3259, allocations: 22 kB / 0.5054 GB, free: 25.31 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3259, allocations: 0 / 0.5054 GB, free: 25.31 MB / 446.1 MB Notification: Performance of Templates: time 0.004465/0.3303, allocations: 1.466 MB / 0.5068 GB, free: 25.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.009811889030971]