Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001329/0.001329, allocations: 73.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.001433/0.001433, allocations: 160.3 kB / 24.5 MB, free: 3.715 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.463/1.463, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.2154/0.2154, allocations: 32.81 MB / 294.1 MB, free: 24 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [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.002321/0.002321, allocations: 59.91 kB / 440.6 MB, free: 9.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3192, allocations: 65.45 MB / 0.4942 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003056/0.3223, allocations: 1.982 MB / 0.4961 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3238, allocations: 0.9898 MB / 0.4971 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3239, allocations: 0 / 0.4971 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.3244, allocations: 262.8 kB / 0.4973 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.3249, allocations: 266.6 kB / 0.4976 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009911/0.3259, allocations: 487.2 kB / 0.498 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.3262, allocations: 338.8 kB / 0.4984 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3264, allocations: 43.62 kB / 0.4984 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3265, allocations: 153.7 kB / 0.4985 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.3267, allocations: 222.1 kB / 0.4988 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.3268, allocations: 12.84 kB / 0.4988 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3269, allocations: 71.42 kB / 0.4988 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.327, allocations: 95.19 kB / 0.4989 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.3271, allocations: 85.83 kB / 0.499 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.3274, allocations: 326.2 kB / 0.4993 GB, free: 28.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3274, allocations: 0 / 0.4993 GB, free: 28.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3274, allocations: 0 / 0.4993 GB, free: 28.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3274, allocations: 0 / 0.4993 GB, free: 28.43 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006171/0.3281, allocations: 0.5896 MB / 0.4999 GB, free: 27.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3281, allocations: 17.2 kB / 0.4999 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.3282, allocations: 43.56 kB / 0.5 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.3284, allocations: 261.7 kB / 0.5002 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3284, allocations: 7.594 kB / 0.5002 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.3285, allocations: 13.62 kB / 0.5002 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.3287, allocations: 112.1 kB / 0.5003 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3287, allocations: 0 / 0.5003 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3287, allocations: 10.62 kB / 0.5003 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3287, allocations: 3.188 kB / 0.5003 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.3289, allocations: 80.27 kB / 0.5004 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.3294, allocations: 403.9 kB / 0.5008 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3296, allocations: 87.27 kB / 0.5009 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.3296, allocations: 31.62 kB / 0.5009 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3297, allocations: 6.562 kB / 0.5009 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3297, allocations: 38.5 kB / 0.501 GB, free: 27.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3297, allocations: 3.312 kB / 0.501 GB, free: 27.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008087/0.3305, allocations: 396.2 kB / 0.5013 GB, free: 27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.3305, allocations: 51.41 kB / 0.5014 GB, free: 26.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.3309, allocations: 0.5566 MB / 0.5019 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.331, allocations: 28.86 kB / 0.502 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.3311, allocations: 208.2 kB / 0.5022 GB, free: 26.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3311, allocations: 60.73 kB / 0.5022 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3311, allocations: 31.22 kB / 0.5022 GB, free: 26.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.3312, allocations: 349.9 kB / 0.5026 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3313, allocations: 59.47 kB / 0.5026 GB, free: 26.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.3314, allocations: 47.52 kB / 0.5027 GB, free: 26.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.3316, allocations: 119.5 kB / 0.5028 GB, free: 26.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3316, allocations: 0 / 0.5028 GB, free: 26.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002909/0.3319, allocations: 208.5 kB / 0.503 GB, free: 25.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3319, allocations: 9.906 kB / 0.503 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3319, allocations: 0 / 0.503 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3319, allocations: 4 kB / 0.503 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3321, allocations: 34.42 kB / 0.503 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3321, allocations: 0 / 0.503 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.3322, allocations: 10.62 kB / 0.5031 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3322, allocations: 3.062 kB / 0.5031 GB, free: 25.91 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 (17): * Single equations (assignments): 17 * 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.0001224/0.3323, allocations: 176.6 kB / 0.5032 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.3323, allocations: 43.44 kB / 0.5033 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.3328, allocations: 241 kB / 0.5035 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3328, allocations: 11.03 kB / 0.5035 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3328, allocations: 0 / 0.5035 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3328, allocations: 3.469 kB / 0.5035 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.3334, allocations: 0.542 MB / 0.504 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3334, allocations: 0 / 0.504 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3335, allocations: 27.94 kB / 0.5041 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3335, allocations: 3.125 kB / 0.5041 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3335, allocations: 7.062 kB / 0.5041 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3335, allocations: 4 kB / 0.5041 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3335, allocations: 3.422 kB / 0.5041 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.3338, allocations: 306.7 kB / 0.5044 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.3339, allocations: 32.55 kB / 0.5044 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3339, allocations: 4 kB / 0.5044 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.334, allocations: 10.84 kB / 0.5044 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.334, allocations: 13.19 kB / 0.5044 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.334, allocations: 3.156 kB / 0.5044 GB, free: 25.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003226/0.3344, allocations: 429.6 kB / 0.5048 GB, free: 24.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3344, allocations: 4 kB / 0.5048 GB, free: 24.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.3347, allocations: 47.88 kB / 0.5049 GB, free: 24.84 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 (17): * Single equations (assignments): 17 * 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.002905/0.3376, allocations: 0.7479 MB / 0.5056 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.3379, allocations: 129.3 kB / 0.5057 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3379, allocations: 4 kB / 0.5058 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.338, allocations: 68.06 kB / 0.5058 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.3385, allocations: 80.05 kB / 0.5059 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.3394, allocations: 0.6992 MB / 0.5066 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.3396, allocations: 218.6 kB / 0.5068 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.3397, allocations: 45.5 kB / 0.5068 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.3397, allocations: 34.14 kB / 0.5069 GB, free: 23.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3397, allocations: 0 / 0.5069 GB, free: 23.96 MB / 446.1 MB Notification: Performance of Templates: time 0.006618/0.3463, allocations: 3.285 MB / 0.5101 GB, free: 23.47 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.953312173951417]